x = gets.to_i

case x
when 400...600 then
  puts 8
when 600...800 then
  puts 7
when 800...1000 then
  puts 6
when 1000...1200 then
  puts 5
when 1200...1400 then
  puts 4
when 1400...1600 then
  puts 3
when 1600...1800 then
  puts 2
when 1800...2000 then
  puts 1
end
