n=gets.to_i if n < 15 then puts -1 return elsif puts n-7 end