a = 400
b = 199
L1= []
L2 = []
for i in range(8):
    L1.append(a+200*(i))
    L2.append(a+200*(i)+b)


n = int(input())
for i in range(8):
    if L1[i] <= n <= L2[i]:
        print(8-i) a = 400 a 400 b = 199 b 199 L1= [] L1 [] L2 = [] L2 [] for i in range(8):
    L1.append(a+200*(i))
    L2.append(a+200*(i)+b) i range(8) range 8 L1.append(a+200*(i)) L1.append L1 append a+200*(i) a 200*(i) 200 i L2.append(a+200*(i)+b) L2.append L2 append a+200*(i)+b a+200*(i) a 200*(i) 200 i b n = int(input()) n int(input()) int input() input for i in range(8):
    if L1[i] <= n <= L2[i]:
        print(8-i) i range(8) range 8 if L1[i] <= n <= L2[i]:
        print(8-i) L1[i] <= n <= L2[i] L1[i] <= n L1[i] L1 i n L2[i] L2 i print(8-i) print 8-i 8 i L1= [] [] L1 L2 = [] [] L2 b = 199 199 b n = int(input()) int(input()) n a = 400 400 a
a = 400
b = 199
L1= []
L2 = []
for i in range(8):
    L1.append(a+200*(i))
    L2.append(a+200*(i)+b)


n = int(input())
for i in range(8):
    if L1[i] <= n <= L2[i]:
        print(8-i)