Neka cashed a check for $245. The teller gave him two $50 dollar bills, six $20 dollar bills and f $5 dollar bills. Determine the value of f.