let () =
  Scanf.scanf "%d\n" @@ fun x ->
  Printf.printf "%d\n"
    (if 400 <= x && x < 600 then 8
     else if 600 <= x && x < 800 then 7
     else if 800 <= x && x < 1000 then 6
     else if 1000 <= x && x < 1200 then 5
     else if 1200 <= x && x < 1400 then 4
     else if 1400 <= x && x < 1600 then 3
     else if 1600 <= x && x < 1800 then 2
     else 1)