x = int(input())
sum = 600
for i in range(8, 0, -1):
    if x < sum:
        print(i)
        break
    sum += 200 x = int(input()) x int(input()) int input() input sum = 600 sum 600 for i in range(8, 0, -1):
    if x < sum:
        print(i)
        break
    sum += 200 i range(8, 0, -1) range 8 0 -1 if x < sum:
        print(i)
        break
     x < sum x sum print(i) print i break sum += 200 sum 200 sum += 200 200 sum sum = 600 600 sum x = int(input()) int(input()) x
x = int(input())
sum = 600
for i in range(8, 0, -1):
    if x < sum:
        print(i)
        break
    sum += 200