A shop sells x books at N500 each, y books at N600 each, and z books at N900 each. How many books are sold? How much money is paid for the books?