output_description: If it is possible to buy some set of items that cost exactly X yen in total,
  print `1`; otherwise, print `0`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      X
attempt: x = input()
  if int(x) < 100:
      print(0)
      exit(0)
  if 0 <= int(x[-2] + x[-1]) <= 5:
      print(1)
      exit(0)
  elif 6 <= int(x[-2] + x[-1]) <= 10 and 2 <= int(x) // 100:
      print(1)
  elif 11 <= int(x[-2] + x[-1]) <= 15 and 3 <= int(x) // 100:
      print(1)
  elif 16 <= int(x[-2] + x[-1]) <= 20 and 4 <= int(x) // 100:
      print(1)
  elif 21 <= int(x[-2] + x[-1]) <= 25 and 5 <= int(x) // 100:
      print(1)
  elif 26 <= int(x[-2] + x[-1]) <= 30 and 6 <= int(x) // 100:
      print(1)
  elif 31 <= int(x[-2] + x[-1]) <= 35 and 7 <= int(x) // 100:
      print(1)
  elif 36 <= int(x[-2] + x[-1]) <= 40 and 8 <= int(x) // 100:
      print(1)
  elif 41 <= int(x[-2] + x[-1]) <= 45 and 9 <= int(x) // 100:
      print(1)
  elif 46 <= int(x[-2] + x[-1]) <= 50 and 10 <= int(x) // 100:
      print(1)
  elif 51 <= int(x[-2] + x[-1]) <= 55 and 11 <= int(x) // 100:
      print(1)
  elif 56 <= int(x[-2] + x[-1]) <= 60 and 12 <= int(x) // 100:
      print(1)
  elif 61 <= int(x[-2] + x[-1]) <= 65 and 13 <= int(x) // 100:
      print(1)
  elif 66 <= int(x[-2] + x[-1]) <= 70 and 14 <= int(x) // 100:
      print(1)
  elif 71 <= int(x[-2] + x[-1]) <= 75 and 15 <= int(x) // 100:
      print(1)
  elif 76 <= int(x[-2] + x[-1]) <= 80 and 16 <= int(x) // 100:
      print(1)
  elif 81 <= int(x[-2] + x[-1]) <= 85 and 17 <= int(x) // 100:
      print(1)
  elif 86 <= int(x[-2] + x[-1]) <= 90 and 18 <= int(x) // 100:
      print(1)
  elif 91 <= int(x[-2] + x[-1]) <= 95 and 19 <= int(x) // 100:
      print(1)
  elif 96 <= int(x[-2] + x[-1]) <= 99 and 20 <= int(x) // 100:
      print(1)
  else:
      print(0)
  
problem_description: Statement
  
  AtCoder Mart sells 1000000 of each of the six items below:
  
    * Riceballs, priced at 100 yen (the currency of Japan) each
    * Sandwiches, priced at 101 yen each
    * Cookies, priced at 102 yen each
    * Cakes, priced at 103 yen each
    * Candies, priced at 104 yen each
    * Computers, priced at 105 yen each
  
  Takahashi wants to buy some of them that cost exactly X yen in total.
  Determine whether this is possible.  
  (Ignore consumption tax.)
samples: [{"input": "615", "output": "1\n    \n\nFor example, we can buy one of each kind of item, which will cost\n100+101+102+103+104+105=615 yen in total.\n\n* * *"}, {"input": "217", "output": "0\n    \n\nNo set of items costs 217 yen in total."}]