// inputに入力データ全体が入る
function Main(input) {

    input = input.split("\n");
  
    let n = parseInt(input[0], 10);
    
    let ary = [[400, 599, 8], [600, 799, 7], [800, 999, 6], [1000, 1199, 5], 
                [1200, 1399, 4], [1400, 1599, 3], [1600, 1799, 2], [1800, 1999, 1]];

    let rslt = 0;

    for (let i=0;i<ary.length;i++) {
        if (ary[i][0] <= n && n <= ary[i][1]) {
            rslt = ary[i][2];
        }
    }

    console.log('%d', rslt);
}


Main(require("fs").readFileSync("/dev/stdin", "utf8"));