#!/usr/bin/env ruby

X = gets.chomp.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
else puts 1
end
