A printer prints 5 pages less in the second minute than in the first minute. If it prints 77 pages in two minutes, then how many pages does it print in the first minute?