fun main() {
    val x = readInt()
    val ratings = (400..2000 step 200)
    var kyu = 8
    for (rate in ratings) {
        if (x in rate until (rate + 200)) break
        kyu--
    }
    println(kyu)
}

// Input Reader
private fun readLn() = readLine()!!

private fun readStrings() = readLn().trim().split(" ")
private fun readInt() = readLn().toInt()
private fun readInts() = readStrings().map { it.toInt() }
