Oceanside bike rental shop charges 14 dollars plus 6 dollars an hour for renting a bike. Melanie paid 62 dollars to rent a bike. How many hours did she pay to have the bike checked out?