X=int(input())
count=8
while X>=600:
    X-=200
    count-=1
print(count) X=int(input()) X int(input()) int input() input count=8 count 8 while X>=600:
    X-=200
    count-=1 X>=600 X 600 X-=200 X 200 count-=1 count 1 print(count) print count X=int(input()) int(input()) X count=8 8 count X-=200 200 X count-=1 1 count
X=int(input())
count=8
while X>=600:
    X-=200
    count-=1
print(count)
