X=int(input())
count=8
for i in range(600,2001,200):
    if X<i:
        print(count)
        exit()
    count-=1 X=int(input()) X int(input()) int input() input count=8 count 8 for i in range(600,2001,200):
    if X<i:
        print(count)
        exit()
    count-=1 i range(600,2001,200) range 600 2001 200 if X<i:
        print(count)
        exit()
     X<i X i print(count) print count exit() exit count-=1 count 1 X=int(input()) int(input()) X count-=1 1 count count=8 8 count
X=int(input())
count=8
for i in range(600,2001,200):
    if X<i:
        print(count)
        exit()
    count-=1