Input: $5 will buy a ticket.
Output: 1