a student has some $1 and $5 bills in his wallet. he has a total of 15 bills that are worth $47. how much of each type of bill does he have