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 = int(input())
  if 1 <= x and x <= 99:
      print(0)
      exit()
  elif 106 <= x and x <= 199:
      print(0)
      exit()
  elif 211 <= x and x <= 299:
      print(0)
      exit()
  elif 316 <= x and x <= 399:
      print(0)
      exit()
  elif 421 <= x and x <= 499:
      print(0)
      exit()
  elif 526 <= x and x <= 599:
      print(0)
      exit()
  elif 631 <= x and x <= 699:
      print(0)
      exit()
  elif 736 <= x and x <= 799:
      print(0)
      exit()
  elif 841 <= x and x <= 899:
      print(0)
      exit()
  elif 946 <= x and x <= 999:
      print(0)
      exit()
  elif 1051 <= x and x <= 1099:
      print(0)
      exit()
  elif 1156 <= x and x <= 1199:
      print(0)
      exit()
  elif 1261 <= x and x <= 1299:
      print(0)
      exit()
  elif 1366 <= x and x <= 1399:
      print(0)
      exit()
  elif 1471 <= x and x <= 1499:
      print(0)
      exit()
  elif 1576 <= x and x <= 1599:
      print(0)
      exit()
  elif 1681 <= x and x <= 1699:
      print(0)
      exit()
  elif 1786 <= x and x <= 1799:
      print(0)
      exit()
  elif 1891 <= x and x <= 1899:
      print(0)
      exit()
  elif 1996 <= x and x <= 1999:
      print(0)
      exit()
  else:
      print(1)
      exit()
  
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."}]