a=int(input())
b=a//200
if b==2:
  print(8)
elif b==3:
  print(7)
elif b==4:
  print(6)
elif b==5:
  print(5)
elif b==6:
  print(4)
elif b==7:
  print(3)
elif b==8:
  print(2)
elif b==9:
  print(1) a=int(input()) a int(input()) int input() input b=a//200 b a//200 a 200 if b==2:
  print(8)
elif b==3:
  print(7)
elif b==4:
  print(6)
elif b==5:
  print(5)
elif b==6:
  print(4)
elif b==7:
  print(3)
elif b==8:
  print(2)
elif b==9:
  print(1) b==2 b 2 print(8) print 8 elif b==3:
  print(7) b==3 b 3 print(7) print 7 elif b==4:
  print(6) b==4 b 4 print(6) print 6 elif b==5:
  print(5) b==5 b 5 print(5) print 5 elif b==6:
  print(4) b==6 b 6 print(4) print 4 elif b==7:
  print(3) b==7 b 7 print(3) print 3 elif b==8:
  print(2) b==8 b 8 print(2) print 2 elif b==9:
  print(1) b==9 b 9 print(1) print 1 a=int(input()) int(input()) a b=a//200 a//200 b
a=int(input())
b=a//200
if b==2:
  print(8)
elif b==3:
  print(7)
elif b==4:
  print(6)
elif b==5:
  print(5)
elif b==6:
  print(4)
elif b==7:
  print(3)
elif b==8:
  print(2)
elif b==9:
  print(1)