n = int(input())

rate = 600
rank = 8

while True:
    if n < rate:
        print(rank)
        break
    rate += 200
    rank -= 1 n = int(input()) n int(input()) int input() input rate = 600 rate 600 rank = 8 rank 8 while True:
    if n < rate:
        print(rank)
        break
    rate += 200
    rank -= 1 True if n < rate:
        print(rank)
        break
     n < rate n rate print(rank) print rank break rate += 200 rate 200 rank -= 1 rank 1 rate += 200 200 rate rank = 8 8 rank n = int(input()) int(input()) n rank -= 1 1 rank rate = 600 600 rate
n = int(input())

rate = 600
rank = 8

while True:
    if n < rate:
        print(rank)
        break
    rate += 200
    rank -= 1
