class Problem
  attr_accessor *(?a..?z).to_a.map(&:to_sym)
  def initialize
    @x = gets.to_s.to_i
  end

  def solve
    return 8 if x < 600
    return 7 if x < 800
    return 6 if x < 1000
    return 5 if x < 1200
    return 4 if x < 1400
    return 3 if x < 1600
    return 2 if x < 1800
    return 1 if x < 2000
  end

  def show(ans)
    puts ans
  end
end

Problem.new.instance_eval do
  show(solve)
end