X = int(input())

ans = 8
rate = 600
while X >= rate:
    ans -= 1
    rate += 200
print(ans) X = int(input()) X int(input()) int input() input ans = 8 ans 8 rate = 600 rate 600 while X >= rate:
    ans -= 1
    rate += 200 X >= rate X rate ans -= 1 ans 1 rate += 200 rate 200 print(ans) print ans ans -= 1 1 ans X = int(input()) int(input()) X ans = 8 8 ans rate += 200 200 rate rate = 600 600 rate
X = int(input())

ans = 8
rate = 600
while X >= rate:
    ans -= 1
    rate += 200
print(ans)
