x = int(input())

rl = 400

for i in range(8, 0, -1):
    if (rl <= x) and (x <= rl+199):
        print(i)
    rl += 200 x = int(input()) x int(input()) int input() input rl = 400 rl 400 for i in range(8, 0, -1):
    if (rl <= x) and (x <= rl+199):
        print(i)
    rl += 200 i range(8, 0, -1) range 8 0 -1 if (rl <= x) and (x <= rl+199):
        print(i)
     (rl <= x) and (x <= rl+199) rl <= x rl x x <= rl+199 x rl+199 rl 199 print(i) print i rl += 200 rl 200 rl += 200 200 rl x = int(input()) int(input()) x rl = 400 400 rl
x = int(input())

rl = 400

for i in range(8, 0, -1):
    if (rl <= x) and (x <= rl+199):
        print(i)
    rl += 200