A farmer sells apples and oranges at a market. The revenue from selling apples is $120, and the revenue from selling oranges is $150. The revenue from selling bananas is three times the total revenue from selling apples and oranges. How much revenue did the farmer earn from selling bananas? Let's think step by step and output the final answer within \boxed{}.
user