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