To rent skis it cost a one time fee of $18. To ski it costs $5 an hour. How long can you ski if you want to spend no more than $50?