Profit Targets Hackerrank