X = int(input())
X -= 400
print(8 - X//200) X = int(input()) X int(input()) int input() input X -= 400 X 400 print(8 - X//200) print 8 - X//200 8 X//200 X 200 X = int(input()) int(input()) X X -= 400 400 X
X = int(input())
X -= 400
print(8 - X//200)