A family member has some five dollar bills and one dollar bills in their wallet. Altogether she has 18 bills and a total of $62. How many bills does she have?