'''
    Auther: ghoshashis545 Ashis Ghosh
    College: jalpaiguri Govt Enggineering College

'''
from os import path
import sys
from heapq import heappush,heappop,heapify
from functools import cmp_to_key as ctk
from collections import deque,defaultdict as dd 
from bisect import bisect,bisect_left,bisect_right,insort,insort_left,insort_right
from itertools import permutations
from datetime import datetime
from math import ceil,sqrt,log,gcd
def ii():return int(input())
def si():return input().rstrip()
def mi():return map(int,input().split())
def li():return list(mi())
abc='abcdefghijklmnopqrstuvwxyz'
mod=1000000007
# mod=998244353
inf = float("inf")
vow=['a','e','i','o','u']
dx,dy=[-1,1,0,0],[0,0,1,-1]

def b(i):
    # ord(i) -> Ascii value of i
    return ord(i)-ord('a')

file = 1


def solve():


    x=[599,799,999,1199,1399,1599,1799,1999]
 
    n=ii()
    for i in range(8):
        if n<=x[i]:
            print(8-i)
            break





        

        



    










        
if __name__ =="__main__":

    if(file):

        if path.exists('input.txt'):
            sys.stdin=open('input.txt', 'r')
            sys.stdout=open('output.txt','w')
        else:
            input=sys.stdin.readline
    solve() '''
    Auther: ghoshashis545 Ashis Ghosh
    College: jalpaiguri Govt Enggineering College

''' from os import path import sys sys from heapq import heappush,heappop,heapify from functools import cmp_to_key as ctk from collections import deque,defaultdict as dd from bisect import bisect,bisect_left,bisect_right,insort,insort_left,insort_right from itertools import permutations from datetime import datetime from math import ceil,sqrt,log,gcd def ii():return int(input()) ii def si():return input().rstrip() si def mi():return map(int,input().split()) mi def li():return list(mi()) li abc='abcdefghijklmnopqrstuvwxyz' abc 'abcdefghijklmnopqrstuvwxyz' mod=1000000007 mod 1000000007 inf = float("inf") inf float("inf") float "inf" vow=['a','e','i','o','u'] vow ['a','e','i','o','u'] 'a' 'e' 'i' 'o' 'u' dx,dy=[-1,1,0,0],[0,0,1,-1] dx [-1,1,0,0] -1 1 0 0 dy [0,0,1,-1] 0 0 1 -1 def b(i):
    # ord(i) -> Ascii value of i
    return ord(i)-ord('a') b return ord(i)-ord('a') ord(i)-ord('a') ord(i) ord i ord('a') ord 'a' i i file = 1 file 1 def solve():


    x=[599,799,999,1199,1399,1599,1799,1999]
 
    n=ii()
    for i in range(8):
        if n<=x[i]:
            print(8-i)
            break





        

        



    










         solve x=[599,799,999,1199,1399,1599,1799,1999] x [599,799,999,1199,1399,1599,1799,1999] 599 799 999 1199 1399 1599 1799 1999 n=ii() n ii() ii for i in range(8):
        if n<=x[i]:
            print(8-i)
            break





        

        



    










         i range(8) range 8 if n<=x[i]:
            print(8-i)
            break





        

        



    










         n<=x[i] n x[i] x i print(8-i) print 8-i 8 i break if __name__ =="__main__":

    if(file):

        if path.exists('input.txt'):
            sys.stdin=open('input.txt', 'r')
            sys.stdout=open('output.txt','w')
        else:
            input=sys.stdin.readline
    solve() __name__ =="__main__" __name__ "__main__" if(file):

        if path.exists('input.txt'):
            sys.stdin=open('input.txt', 'r')
            sys.stdout=open('output.txt','w')
        else:
            input=sys.stdin.readline
     file if path.exists('input.txt'):
            sys.stdin=open('input.txt', 'r')
            sys.stdout=open('output.txt','w')
        else:
            input=sys.stdin.readline
     path.exists('input.txt') path.exists path exists 'input.txt' sys.stdin=open('input.txt', 'r') sys.stdin sys stdin open('input.txt', 'r') open 'input.txt' 'r' sys.stdout=open('output.txt','w') sys.stdout sys stdout open('output.txt','w') open 'output.txt' 'w' input=sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline solve() solve def li():return list(mi()) def li():return list(mi()) li inf = float("inf") float("inf") inf file = 1 1 file def si():return input().rstrip() def si():return input().rstrip() si def mi():return map(int,input().split()) def mi():return map(int,input().split()) mi def solve():


    x=[599,799,999,1199,1399,1599,1799,1999]
 
    n=ii()
    for i in range(8):
        if n<=x[i]:
            print(8-i)
            break





        

        



    










         def solve():


    x=[599,799,999,1199,1399,1599,1799,1999]
 
    n=ii()
    for i in range(8):
        if n<=x[i]:
            print(8-i)
            break





        

        



    










         solve abc='abcdefghijklmnopqrstuvwxyz' 'abcdefghijklmnopqrstuvwxyz' abc mod=1000000007 1000000007 mod vow=['a','e','i','o','u'] ['a','e','i','o','u'] vow dx,dy=[-1,1,0,0],[0,0,1,-1] [-1,1,0,0] dx dy=[-1,1,0,0],[0,0,1,-1] [0,0,1,-1] dy def b(i):
    # ord(i) -> Ascii value of i
    return ord(i)-ord('a') def b(i):
    # ord(i) -> Ascii value of i
    return ord(i)-ord('a') b input=sys.stdin.readline sys.stdin.readline input def ii():return int(input()) def ii():return int(input()) ii
'''
    Auther: ghoshashis545 Ashis Ghosh
    College: jalpaiguri Govt Enggineering College

'''
from os import path
import sys
from heapq import heappush,heappop,heapify
from functools import cmp_to_key as ctk
from collections import deque,defaultdict as dd 
from bisect import bisect,bisect_left,bisect_right,insort,insort_left,insort_right
from itertools import permutations
from datetime import datetime
from math import ceil,sqrt,log,gcd
def ii():return int(input())
def si():return input().rstrip()
def mi():return map(int,input().split())
def li():return list(mi())
abc='abcdefghijklmnopqrstuvwxyz'
mod=1000000007
# mod=998244353
inf = float("inf")
vow=['a','e','i','o','u']
dx,dy=[-1,1,0,0],[0,0,1,-1]

def b(i):
    # ord(i) -> Ascii value of i
    return ord(i)-ord('a')

file = 1


def solve():


    x=[599,799,999,1199,1399,1599,1799,1999]
 
    n=ii()
    for i in range(8):
        if n<=x[i]:
            print(8-i)
            break





        

        



    










        
if __name__ =="__main__":

    if(file):

        if path.exists('input.txt'):
            sys.stdin=open('input.txt', 'r')
            sys.stdout=open('output.txt','w')
        else:
            input=sys.stdin.readline
    solve()