x = gets.chomp.to_i
# A, B, C = gets.chomp.split.map(&:to_i)
# S = gets.chomp.chars

def grad(x)
  if x <= 599
    return 8
  elsif x <= 799
    return 7
  elsif x <= 999
    return 6
  elsif x <= 1199
    return 5
  elsif x <= 1399
    return 4
  elsif x <= 1599
    return 3
  elsif x <= 1799
    return 2
  else
    return 1
  end
end

puts grad(x)