X = gets.chomp.to_i
def rating(rate)
  if 400 <= rate && rate < 599
    return "8"
  elsif 600 <= rate && rate < 799
    return "7"
  elsif 800 <= rate && rate < 999
    return "6"
  elsif 1000 <= rate && rate < 1199
    return "5"
  elsif 1200 <= rate && rate < 1399
    return "4"
  elsif 1400 <= rate && rate < 1599
    return "3"
  elsif 1600 <= rate && rate < 1799
    return "2"
  elsif 1800 <= rate && rate < 1999
    return "1"
  end
end

print(rating(X), "\n")