Task: Question Answering
Input (English): Problem: on a saturday night , each of the rooms at a certain motel was rented for either $ 40 or $ 60 . if 10 of the rooms that were rented for $ 60 had instead been rented for $ 40 , then the total rent the motel charged for that night would have been reduced by 40 percent . what was the total rent the motel actually charged for that night ?
Output (English): $ 500