X = gets.to_i

i = case X
  when (400...600); 8
  when (600...800); 7
  when (800...1000); 6
  when (1000...1200); 5
  when (1200...1400); 4
  when (1400...1600); 3
  when (1600...1800); 2
  when (1800...2000); 1
  end

puts i