x = int(input())
x //= 200
print(10 - x) x = int(input()) x int(input()) int input() input x //= 200 x 200 print(10 - x) print 10 - x 10 x x //= 200 200 x x = int(input()) int(input()) x
x = int(input())
x //= 200
print(10 - x)
