value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1 value = int(input()) value int(input()) int input() input kyu_rated = 8 kyu_rated 8 lvalue = 400 lvalue 400 rvalue = 599 rvalue 599 for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1 i range(0, 8) range 0 8 if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1 lvalue <= value <= rvalue lvalue <= value lvalue value rvalue print(kyu_rated) print kyu_rated flag = 1 flag 1 break lvalue += 200 lvalue 200 rvalue += 200 rvalue 200 kyu_rated -= 1 kyu_rated 1 lvalue += 200 200 lvalue lvalue = 400 400 lvalue rvalue += 200 200 rvalue value = int(input()) int(input()) value kyu_rated = 8 8 kyu_rated flag = 1 1 flag kyu_rated -= 1 1 kyu_rated rvalue = 599 599 rvalue
value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1
