x = gets.chomp.to_i

if 400 <= x and x < 600
  p 8
elsif 600 <= x and x < 800
  p 7
elsif 800 <= x  and x < 1000
  p 6
elsif 1000 <= x and x < 1200
  p 5
elsif 1200 <= x and x < 1400
  p 4
elsif 1400 <= x and x < 1600
  p 3
elsif 1600 <= x and x < 1800
  p 2
else
  p 1
end
