Tyler finds some nickels and quarters under the couch cushions. How much money (in cents) does he have if he has 10 nickels and 8 quarters? How much money (in cents) does he have if he has n nickels and q quarters?