X = int(input())
MIN = 400
MAX = MIN + 199
for i in range(8):
  if MIN <= X and X <= MAX:
    print(8 - i)
    break
  MIN = MIN + 200
  MAX = MIN + 199 X = int(input()) X int(input()) int input() input MIN = 400 MIN 400 MAX = MIN + 199 MAX MIN + 199 MIN 199 for i in range(8):
  if MIN <= X and X <= MAX:
    print(8 - i)
    break
  MIN = MIN + 200
  MAX = MIN + 199 i range(8) range 8 if MIN <= X and X <= MAX:
    print(8 - i)
    break
   MIN <= X and X <= MAX MIN <= X MIN X X <= MAX X MAX print(8 - i) print 8 - i 8 i break MIN = MIN + 200 MIN MIN + 200 MIN 200 MAX = MIN + 199 MAX MIN + 199 MIN 199 X = int(input()) int(input()) X MIN = MIN + 200 MIN + 200 MIN MAX = MIN + 199 MIN + 199 MAX MIN = 400 400 MIN MAX = MIN + 199 MIN + 199 MAX
X = int(input())
MIN = 400
MAX = MIN + 199
for i in range(8):
  if MIN <= X and X <= MAX:
    print(8 - i)
    break
  MIN = MIN + 200
  MAX = MIN + 199