defmodule Main do
  def main do
    IO.read(:line)
    |> String.trim()
    |> String.to_integer()
    |> solve()
    |> IO.puts()
  end

  @doc ~S"""
  https://atcoder.jp/contests/m-solutions2020/tasks/m_solutions2020_a

  ## Examples

      iex> MSolutions2020A.solve(725)
      7
      iex> MSolutions2020A.solve(1600)
      2

  """
  def solve(x) when x <= 599, do: 8
  def solve(x) when x <= 799, do: 7
  def solve(x) when x <= 999, do: 6
  def solve(x) when x <= 1199, do: 5
  def solve(x) when x <= 1399, do: 4
  def solve(x) when x <= 1599, do: 3
  def solve(x) when x <= 1799, do: 2
  def solve(_x), do: 1
end
