x = gets.to_i
kyu = nil
puts x >= 600 && x <=799

case x
when 400..599
  kyu = 8
when 600..799
  kyu = 7
when 800..999
  kyu = 6
when 1000..1199
  kyu = 5
when 1200..1399
  kyu = 4
when 1400..1599
  kyu = 3
when 1600..1799
  kyu = 2
when 1800..1999
  kyu = 1
end

puts kyu