A printing press can print 100 pages per hour. Another press can print 150 pages per hour. If both presses start printing at the same time and together they print a total of 2500 pages, how many hours does each press operate? Let's think step by step and output the final answer within \boxed{}.
user