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