output_description: If Takahashi's growth will be celebrated, print `YES`; if it will not, print
  `NO`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      X
attempt: s = list(map(str, input()))
  # print(s)
  s_3 = []
  for i in range(len(s) - 2):
      a = "".join(s[i : (i + 3)])
      # print(a)
      s_3.append(abs(int(a) - 753))
  print(min(s_3))
  
problem_description: Statement
  
   _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a
  certain country to celebrate the growth of seven-, five- and three-year-old
  children.
  
  Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San
  this time?
samples: [{"input": "5", "output": "YES\n    \n\nThe growth of a five-year-old child will be celebrated.\n\n* * *"}, {"input": "6", "output": "NO\n    \n\nSee you next year."}]