Melanie can make some extra money by babysitting in the afternoon and working as a tutor on the weekends. She has 20 hours to work as either a babysitter or a tutor. If she makes $6.50 an hour babysitting and $8 an hour as a tutor, What is the greatest number of hours she can work as a babysitter in order to make at least $145?