Problem:
 Score: 100 points    Problem Statement  M-kun is a competitor in AtCoder, whose highest rating is X . In this site, a competitor is given a kyu (class) according to his/her highest rating. For ratings from 400 through 1999 , the following kyus are given:   From 400 through 599 : 8 -kyu  From 600 through 799 : 7 -kyu  From 800 through 999 : 6 -kyu  From 1000 through 1199 : 5 -kyu  From 1200 through 1399 : 4 -kyu  From 1400 through 1599 : 3 -kyu  From 1600 through 1799 : 2 -kyu  From 1800 through 1999 : 1 -kyu   What kyu does M-kun have?      Constraints   400 \leq X \leq 1999  X is an integer.         Input  Input is given from Standard Input in the following format:  X       Output  Print the kyu M-kun has, as an integer.
For example, if he has 8 -kyu, print 8 .        Sample Input 1 725      Sample Output 1 7  M-kun's highest rating is 725 , which corresponds to 7 -kyu. Thus, 7 is the correct output.       Sample Input 2 1600      Sample Output 2 2  M-kun's highest rating is 1600 , which corresponds to 2 -kyu. Thus, 2 is the correct output.

Solution (Python):

x = int(input())
if x<600:
    print(8)
elif(x<800):
    print(7)
elif(x<1000):
    print(6)
elif(x<1200):
    print(5)
elif(x<1400):
    print(4)
elif(x<1600):
    print(3)
elif(x<1800):
    print(2)
elif(x<2000):
    print(1)

Solution (Python):
X = int(input())
if 400 <= X and X <= 599:
    print(8)
elif 600<=X and X<=799:
    print(7)
elif 800<=X and X<=999:
    print(6)
elif 1000<=X and X<=1199:
    print(5)
elif 1200<=X and X<=1399:
    print(4)
elif 1400<=X and X<=1599:
    print(3)
elif 1600<=X and X<=1799:
    print(2)
elif 1800<=X and X<=1999:
    print(1)

Solution (Python):
X = int(input())
x = 2199-X
print(x//200)

Solution (Python):
x = int(input())

if 400 <= x and x <= 599:
    print(8)
elif 600 <= x and x <= 799:
    print(7)
elif 800 <= x and x <= 999:
    print(6)
elif 1000 <= x and x <= 1199:
    print(5)
elif 1200 <= x and x <= 1399:
    print(4)
elif 1400 <= x and x <= 1599:
    print(3)    
elif 1600 <= x and x <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
n=int(input())

if n >= 400 and n <= 599:
    print(8)
elif n >= 600 and n <= 799:
    print(7)
elif n >= 800 and n <= 999:
    print(6)
elif n >= 1000 and n <= 1199:
    print(5)
elif n >= 1200 and n <= 1399:
    print(4)
elif n >= 1400 and n <= 1599:
    print(3)
elif n >= 1600 and n <= 1799:
    print(2)
elif n >= 1800 and n <= 1999:
    print(1)

Solution (Python):
X = int(input())

if X >= 400 and X <= 599:
    print('8')
elif X >= 600 and X <= 799:
    print('7')
elif X >= 800 and X <= 999:
    print('6')
elif X >= 1000 and X <= 1199:
    print('5')
elif X >= 1200 and X <= 1399:
    print('4')
elif X >= 1400 and X <= 1599:
    print('3')
elif X >= 1600 and X <= 1799:
    print('2')
else:
    print('1')

Solution (Python):
x = int(input())

if 400 <= x <=599:
    print(8)
elif 600 <= x <= 799:
    print(7)
elif 800 <= x <= 999:
    print(6)
elif 1000 <= x <= 1199:
    print(5)
elif 1200 <= x <= 1399:
    print(4)
elif 1400 <= x <= 1599:
    print(3)
elif 1600 <= x <= 1799:
    print(2)
elif 1800 <= x <= 1999:
    print(1)

Solution (Python):
def main():
    import sys
    X=int(sys.stdin.readline())
    L1=[400,600,800,1000,1200,1400,1600,1800,2000]
    L2=[8,7,6,5,4,3,2,1]
    for i in range(len(L1)):
        if L1[i]<=X<L1[i+1]:
            print(L2[i])
            break


main()

Solution (Python):
n = int(input())
if 400 <= n <= 599:
    print(8)
elif 600 <= n <= 799:
    print(7)
elif 800 <= n <= 999:
    print(6)
elif 1000 <= n <= 1199:
    print(5)
elif 1200 <= n <= 1399:
    print(4)
elif 1400 <= n <= 1599:
    print(3)
elif 1600 <= n <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
t=int(input())
if(t>=400 and t<=599):
    print(8)
elif(t>=600 and t<=799):
    print(7)
elif(t>=800 and t<=999):
    print(6)
elif(t>=1000 and t<=1199):
    print(5)
elif(t>=1200 and t<=1399):
    print(4)
elif(t>=1400 and t<=1599):
    print(3)   
elif(t>=1600 and t<=1799):
    print(2)
elif(t>=1800 and t<=1999):
    print(1)

Solution (Python):
x = int(input())

ans = 1
ls=[x for x in range(400,2000,200)]

for i in range(len(ls)-1):
    if ls[i] <= x < ls[i+1]:
        ans = 8-i
        break

print(ans)

Solution (Python):
import sys

a = int(sys.stdin.readline().strip())
print(10 - a // 200)

Solution (Python):
X = int(input())
point_lst = [600, 800, 1000, 1200, 1400, 1600, 1800, 2000]
rank = 8
for point in point_lst:
  if X < point:
    print(rank)
    break
  else:
    rank -= 1

Solution (Python):
x = int(input())
if x < 600:
  print(8)
elif x < 800:
  print(7)
elif x < 1000:
  print(6)
elif x < 1200:
  print(5)
elif x < 1400:
  print(4)
elif x < 1600:
  print(3)
elif x < 1800:
  print(2)
else:
  print(1)

Solution (Python):
x = int(input())
if 400 <= x <= 599:
    print(8)
elif 600 <= x <= 799:
    print(7)
elif 800 <= x <= 999:
    print(6)
elif 1000 <= x <= 1199:
    print(5)
elif 1200 <= x <= 1399:
    print(4)
elif 1400 <= x <= 1599:
    print(3)
elif 1600 <= x <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
x = int(input())

if 400 <= x <=599:
  print(8)
if 600 <= x <=799:
  print(7)
if 800 <= x <=999:
  print(6)
if 1000 <= x <=1199:
  print(5)
if 1200 <= x <=1399:
  print(4)
if 1400 <= x <=1599:
  print(3)
if 1600 <= x <=1799:
  print(2)
if 1800 <= x <=1999:
  print(1)

Solution (Python):
import math

def  XYZTriplets():

    num = int(input())
    
    if num >= 400 and num <= 599:
        print(8)
        
    elif num >= 600 and num <= 799:
        print(7)
    
    elif num >= 800 and num <= 999:
        print(6)
    
    elif num >= 1000 and num <= 1199:
        print(5)
    
    elif num >= 1200 and num <= 1399:
        print(4)
    
    elif num >= 1400 and num <= 1599:
        print(3)
    
    elif num >= 1600 and num <= 1799:
        print(2)

    elif num >= 1800 and num <= 1999:
        print(1)        
    
if __name__ == '__main__':
    XYZTriplets()

Solution (Python):
x= int(input())
if x < 600:
    print(8)
elif x< 800:
    print(7)
elif x<1000:
    print(6)
elif x<1200:
    print(5)
elif x<1400:
    print(4)
elif x<1600:
    print(3)
elif x<1800:
    print(2)
else:
    print(1)

Solution (Python):
M = int(input())

if M >= 400 and M <= 599:
  print(8)
elif M>=600 and M<=799:
  print(7)
elif M>=800 and M<=999:
  print(6)
elif M>=1000 and M<=1199:
  print(5)
elif M>=1200 and M<=1399:
  print(4)
elif M>=1400 and M<=1599:
  print(3)
elif M>=1600 and M<=1799:
  print(2)
elif M>=1800 and M<=1999:
  print(1)

Solution (Python):
x = int(input())

if x >= 400 and x <= 599:
    print(8)
elif x >= 600 and x <= 799:
    print(7)
elif x >= 800 and x <= 999:
    print(6)
elif x >= 1000 and x <= 1199:
    print(5)
elif x >= 1200 and x <= 1399:
    print(4)
elif x >= 1400 and x <= 1599:
    print(3)
elif x >= 1600 and x <= 1799:
    print(2)
elif x >= 1800 and x <= 1999:
    print(1)

Solution (Python):
N = int(input())


def calculate(n):
    if n <= 599:
        print(8)
        return

    if n <= 799:
        print(7)
        return

    if n <= 999:
        print(6)
        return

    if n <= 1199:
        print(5)
        return

    if n <= 1399:
        print(4)
        return

    if n <= 1599:
        print(3)
        return

    if n <= 1799:
        print(2)
        return

    if n <= 1999:
        print(1)
        return

calculate(N)

Solution (Python):
x = int(input())
rate = [i for i in range(400,2000,200)]
rate.sort(reverse=True)
for i in range(8):
    if x >= rate[i]:
        print(i+1)
        exit()

Solution (Python):


import math
import re
import numpy as np
import copy


N = int(input())
res = N // 200
ans = 8 - res + 2

print(ans)

Solution (Python):
X = int(input())

if 400 <= X <= 599:
    print(8)
elif 600 <= X <= 799:
    print(7)
elif 800 <= X <= 999:
    print(6)
elif 1000 <= X <= 1199:
    print(5)
elif 1200 <= X <= 1399:
    print(4)
elif 1400 <= X <= 1599:
    print(3)
elif 1600 <= X <= 1799:
    print(2)
elif 1800 <= X <= 1999:
    print(1)
else:
    None

Solution (Python):
def main():
    x=int(input())
    if 400 <= x and x <= 599: print(8)
    elif 600 <= x and x <= 799: print(7)
    elif 800 <= x and x <= 999: print(6)
    elif 1000 <= x and x <= 1199: print(5)
    elif 1200 <= x and x <= 1399: print(4)
    elif 1400 <= x and x <= 1599: print(3)
    elif 1600 <= x and x <= 1799: print(2)
    elif 1800 <= x and x <= 1999: print(1)
    return

if __name__=='__main__':
    main()

Solution (Python):
x = int(input())
x -= 400
print(8 - x // 200)

Solution (Python):
X = int(input())

if 400 <= X <=599:
    print(8)
elif 600 <= X <= 799:
    print(7)
elif 800 <= X <= 999:
    print(6)
elif 1000 <= X <= 1199:
    print(5)
elif 1200 <= X <= 1399:
    print(4)
elif 1400 <= X <= 1599:
    print(3)
elif 1600 <= X <= 1799:
    print(2)
elif 1800 <= X <= 1999:
    print(1)

Solution (Python):
x=int(input())
ans=0
if 400<=x<=599:
    ans=8
elif 600<=x<=799:
    ans=7
elif 800<=x<=999:
    ans=6
elif 1000<=x<=1199: 
    ans=5
elif 1200<=x<=1399:
    ans=4
elif 1400<=x<=1599:
    ans=3
elif 1600<=x<=1799:
    ans=2
elif 1800<=x<=1999:
    ans=1
print(ans)

Solution (Python):
X = int(input())

if 400 <= X <= 599:
    print(8)
elif 600 <= X <= 799:
    print(7)
elif 800 <= X <= 999:
    print(6)
elif 1000 <= X <= 1199:
    print(5)
elif 1200 <= X <= 1399:
    print(4)
elif 1400 <= X <= 1599:
    print(3)
elif 1600 <= X <= 1799:
    print(2)
elif 1800 <= X <= 1999:
    print(1)

Solution (Python):
x=int(input())
if 400<=x<=599:
    print(8)
elif 600<=x<=799:
    print(7)
elif 800<=x<=999:
    print(6)
elif 1000<=x<=1199:
    print(5)
elif 1200<=x<=1399:
    print(4)
elif 1400<=x<=1599:
    print(3)
elif 1600<=x<=1799:
    print(2)
elif 1800<=x<=1999:
    print(1)

Solution (Python):
x = int(input())

s = 600
t = 8
while True:
  if x < s:
    print(t)
    break
  s += 200
  t -= 1

Solution (Python):
n=int(input())
if n<=599:
  print(8)
elif n<=799:
  print(7)
elif n<=999:
  print(6)
elif n<=1199:
  print(5)
elif n<=1399:
  print(4)
elif n<=1599:
  print(3)
elif n<=1799:
  print(2)
elif n<=1999:
  print(1)

Solution (Python):



def kyu(x):
    if x <= 599:
        return 8
    elif x <= 799:
        return 7
    elif x <= 999:
        return 6
    elif x <= 1199:
        return 5
    elif x <= 1399:
        return 4
    elif x <= 1599:
        return 3
    elif x <= 1799:
        return 2
    else:
        return 1


def main():
    x = int(input())
    k = kyu(x)
    print(k)


if __name__ == '__main__':
    main()

Solution (Python):


def main():
    x = int(input())
    ret = 10 - x//200
    print(ret)

if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())

if 400 <= x <= 599:
    print(8)
elif 600 <= x <= 799:
    print(7)
elif 800 <= x <= 999:
    print(6)
elif 1000 <= x <= 1199:
    print(5)
elif 1200 <= x <= 1399:
    print(4)
elif 1400 <= x <= 1599:
    print(3)
elif 1600 <= x <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
n=int(input())
if n>=600:
    if n>=800:
        if n>=1000:
            if n>=1200:
                if n>=1400:
                    if n>=1600:
                        if n>=1800:
                            print(1)
                        else:
                            print(2)
                    else:
                        print(3)
                else:
                    print(4)
            else:
                print(5)
        else:
            print(6)
    else:
        print(7)
else:
     print(8)

Solution (Python):
n = int(input())
if n <= 599:
    print(8)
    exit()

if n <= 799:
    print(7)
    exit()

if n <= 999:
    print(6)
    exit()

if n <= 1199:
    print(5)
    exit()

if n <= 1399:
    print(4)
    exit()

if n <= 1599:
    print(3)
    exit()

if n <= 1799:
    print(2)
    exit()

if n <= 1999:
    print(1)
    exit()

Solution (Python):
x = int(input())
ans = 0
if x >= 400 and x <= 599:
    ans = 8
    print(ans)
if x >= 600 and x <= 799:
    ans = 7
    print(ans)
if x >= 800 and x <= 999:
    ans = 6
    print(ans)
if x >= 1000 and x <= 1199:
    ans = 5
    print(ans)
if x >= 1200 and x <= 1399:
    ans = 4
    print(ans)
if x >= 1400 and x <= 1599:
    ans = 3
    print(ans)
if x >= 1600 and x <= 1799:
    ans = 2
    print(ans)
if x >= 1800 and x <= 1999:
    ans = 1
    print(ans)

Solution (Python):

x = int(input())
dv = 10 - x//200
print(dv)

Solution (Python):
x=int(input())

if 1800<=x:
    print(1)
elif 1600<=x:
    print(2)
elif 1400<=x:
    print(3)
elif 1200<=x:
    print(4)
elif 1000<=x:
    print(5)
elif 800<=x:
    print(6)
elif 600<=x:
    print(7)
else:
    print(8)

Solution (Python):
import sys
import os



def int_array():
    return list(map(int, input().strip().split()))


def str_array():
    return input().strip().split()

def gcd(a,b):
    if b == 0:
        return a
    return gcd(b, a % b);

def take_input():
	if os.environ.get("check"):
		sys.stdin = open('input.txt', 'r') 
		sys.stdout = open('output.txt', 'w')
		
take_input()


n = int(input())-400

print(8-n//200)

Solution (Python):
x = int(input())

if 400 <= x and x <= 599:
    print(8)
    exit()

elif 600 <= x and x <= 799:
    print(7)
    exit()

elif 800 <= x and x <= 999:
    print(6)
    exit()

elif 1000 <= x and x <= 1199:
    print(5)
    exit()

elif 1200 <= x and x <= 1399:
    print(4)
    exit()

elif 1400 <= x and x <= 1599:
    print(3)
    exit()

elif 1600 <= x and x <= 1799:
    print(2)
    exit()

else:
    print(1)
    exit()

Solution (Python):
x = int(input())
ans = 8-(x-400)//200
print(ans)

Solution (Python):
x = int(input())
if 400<=x<=599:
  print(8)
if 600<=x<=799:
  print(7)
if 800<=x<=999:
  print(6)
if 1000<=x<=1199:
  print(5)
if 1200<=x<=1399:
  print(4)
if 1400<=x<=1599:
  print(3)
if 1600<=x<=1799:
  print(2)
if 1800<=x<=1999:
  print(1)

Solution (Python):
X=int(input())
ans=0
if X<600:
    ans=8
elif X<800:
    ans=7
elif X<1000:
    ans=6
elif X<1200:
    ans=5
elif X<1400:
    ans=4
elif X<1600:
    ans=3
elif X<1800:
    ans=2
else:
    ans=1
print(ans)

Solution (Python):
import sys
input = lambda : sys.stdin.readline().rstrip()

x = int(input())

if 400 <= x <= 599:
    out = 8
elif 600 <= x <= 799:
    out = 7
elif 800 <= x <= 999:
    out = 6
elif 1000 <= x <= 1199:
    out = 5
elif 1200 <= x <= 1399:
    out = 4
elif 1400 <= x <= 1599:
    out = 3
elif 1600 <= x <= 1799:
    out = 2
elif 1800 <= x <= 1999:
    out = 1

print(out)

Solution (Python):
X=int(input())

R=8-int((X-400)/200)

print(R)

Solution (Python):
x = int(input())
if 400 <= x and x < 600:
  print(8)
if 600 <= x and x < 800:
  print(7)
if 800 <= x and x < 1000:
  print(6)
if 1000 <= x and x < 1200:
  print(5)
if 1200 <= x and x < 1400:
  print(4)
if 1400 <= x and x < 1600:
  print(3)
if 1600 <= x and x < 1800:
  print(2)
if 1800 <= x and x < 2000:
  print(1)

Solution (Python):
a = int(input())
if a < 600:
    print("8")
elif a < 800:
    print("7")
elif a < 1000:
    print("6")
elif a < 1200:
    print("5")
elif a < 1400:
    print("4")
elif a < 1600:
    print("3")
elif a < 1800:
    print("2")
elif a < 2000:
    print("1")

Solution (Python):
X = int(input())

if 400 <= X and X < 600:
    print(8)
elif 600 <= X and X < 800:
    print(7)
elif 800 <= X and X < 1000:
    print(6)
elif 1000 <= X and X < 1200:
    print(5)
elif 1200 <= X and X < 1400:
    print(4)
elif 1400 <= X and X < 1600:
    print(3)
elif 1600 <= X and X < 1800:
    print(2)
elif 1800 <= X and X < 2000:
    print(1)

Solution (Python):

X = int(input())

if 400 <= X <= 599:
    print(8)
elif 600 <= X <= 799:
    print(7)
elif 800 <= X <= 999:
    print(6)
elif 1000 <= X <= 1199:
    print(5)
elif 1200 <= X <= 1399:
    print(4)
elif 1400 <= X <= 1599:
    print(3)
elif 1600 <= X <= 1799:
    print(2)
elif 1800 <= X <= 1999:
    print(1)

Solution (Python):
from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
from functools import reduce
import numpy as np
import itertools
def S(): return input()
def I(): return int(input())
def MS(): return map(str,input().split())
def MI(): return map(int,input().split())
def FLI(): return [int(i) for i in input().split()]
def LS(): return list(MS())
def LI(): return list(MI())
def LLS(): return [list(map(str, l.split() )) for l in input()]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def LLSN(n: int): return [LS() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]

X = I()

if 400 <= X and X <= 599:
    print("8")
elif 600 <= X and X <= 799:
    print("7")
elif 800 <= X and X <= 999:
    print("6")
elif 1000 <= X and X <= 1199:
    print("5")
elif 1200 <= X and X <= 1399:
    print("4")
elif 1400 <= X and X <= 1599:
    print("3")
elif 1600 <= X and X <= 1799:
    print("2")
else:
    print("1")

Solution (Python):
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

x = int(input())

if x >= 400 and x <= 599:
    print("8")
elif x >= 600 and x <= 799:
    print("7")
elif x >= 800 and x <= 999:
    print("6")
elif x >= 1000 and x <= 1199:
    print("5")
elif x >= 1200 and x <= 1399:
    print("4")
elif x >= 1400 and x <= 1599:
    print("3")
elif x >= 1600 and x <= 1799:
    print("2")
else:
    print("1")

Solution (Python):
n = int(input())

if 400 <= n <= 599:
    print(8)
elif 600 <= n <= 799:
    print(7)
elif 800 <= n <= 999:
    print(6)
elif 1000 <= n <= 1199:
    print(5)
elif 1200 <= n <= 1399:
    print(4)
elif 1400 <= n <= 1599:
    print(3)
elif 1600 <= n <= 1799:
    print(2)
elif 1800 <= n <= 1999:
    print(1)

Solution (Python):
print(8-((int(input())-400)//200))

Solution (Python):
x = int(input())
if x < 600:
    ans = 8
elif x < 800:
    ans = 7
elif x < 1000:
    ans = 6
elif x < 1200:
    ans = 5
elif x < 1400:
    ans = 4
elif x < 1600:
    ans = 3
elif x < 1800:
    ans = 2
else:
    ans = 1
print(ans)

Solution (Python):
def main():
    x = int(input())
    kyu = {
        1: 1800,
        2: 1600,
        3: 1400,
        4: 1200,
        5: 1000,
        6:  800,
        7:  600,
        8:  400,
    }
    for k, v in kyu.items():
        if x>=v:
            print(k)
            return

main()

Solution (Python):

X = int(input())

for i in range(400,1801,200):
    if i<=X and X<i+200:
        print(8-(i-400)//200)

Solution (Python):
x = int(input())

a = (x-400)//200
print(8-a)

Solution (Python):
import numpy as np

if __name__ == '__main__':
    x = int(input())
    if x < 600:
        print(8)
        exit()
    if x < 800:
        print(7)
        exit()

    if x < 1000:
        print(6)
        exit()
    if x < 1200:
        print(5)
        exit()
    if x < 1400:
        print(4)
        exit()
    if x < 1600:
        print(3)
        exit()
    if x < 1800:
        print(2)
        exit()
    if x < 2000:
        print(1)
        exit()

Solution (Python):
N = int(input())

ans = 0
for i in range(0, 8):
    if N - 400 - 200 * i < 200:
        ans = 8 - i
        break
print(ans)

Solution (Python):
x=int(input())
i=400
ans=8
while True:
    if i<=x<=i+199:
        print(ans)
        exit()
    else:
        i+=200
        ans-=1

Solution (Python):
X = int(input())
if 1800 <= X <= 1999:
    print(1)
elif 1600 <= X <= 1799:
    print(2)
elif 1400 <= X <= 1599:
    print(3)
elif 1200 <= X <= 1399:
    print(4)
elif 1000 <= X <= 1199:
    print(5)
elif 800 <= X <= 999:
    print(6)
elif 600 <= X <= 799:
    print(7)
else:
    print(8)

Solution (Python):
import math
import sys
import collections
import bisect
readline = sys.stdin.readline


def main():
    x = int(readline().rstrip())
    li = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]
    for i in range(9):
        if li[i] > x:
            print(9 - i)
            break


if __name__ == '__main__':
    main()

Solution (Python):
x=int(input())

if x <= 599:
    print(8)
elif x <= 799:
    print(7)
elif x <= 999:
    print(6)
elif x <= 1199:
    print(5)
elif x <= 1399:
    print(4)
elif x <= 1599:
    print(3)
elif x <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
x = int(input())

if 1800 <= x <= 1999:
    print(1)
elif 1600 <= x <= 1799:
    print(2)
elif 1400 <= x <= 1599:
    print(3)
elif 1200 <= x <= 1399:
    print(4)
elif 1000 <= x <= 1199:
    print(5)
elif 800 <= x <= 999:
    print(6)
elif 600 <= x <= 799:
    print(7)
elif 400 <= x <= 599:
    print(8)

Solution (Python):
x = int(input())
if 400 <= x < 600:
  print(8)
elif 600 <= x < 800:
  print(7)
elif 800 <= x < 1000:
  print(6)
elif 1000 <= x < 1200:
  print(5)
elif 1200 <= x < 1400:
  print(4)
elif 1400 <= x < 1600:
  print(3)
elif 1600 <= x < 1800:
  print(2)
elif 1800 <= x < 2000:
  print(1)

Solution (Python):
x = int(input())
i = 599
ans = 8
while True:
    if i >= x:
        print(ans)
        break
    else:
        ans -= 1
        i += 200

Solution (Python):
import itertools
import math
import fractions
import functools
import copy
from collections import deque
from functools import reduce
from decimal import Decimal


def main():
    n = int(input())
    if n >= 400 and n <= 599:
        print(8)
    if n >= 600 and n <= 799:
        print(7)
    if n >= 800 and n <= 999:
        print(6)
    if n >= 1000 and n <= 1199:
        print(5)
    if n >= 1200 and n <= 1399:
        print(4)
    if n >= 1400 and n <= 1599:
        print(3)
    if n >= 1600 and n <= 1799:
        print(2)
    if n >= 1800 and n <= 1999:
        print(1)


if __name__ == '__main__':
    main()

Solution (Python):
n=int(input())

if 400 <= n <= 599:
    print(8)
if 600 <= n <= 799:
    print(7)
if 800 <= n <= 999:
    print(6)
if 1000 <= n <= 1199:
    print(5)
if 1200 <= n <= 1399:
    print(4)
if 1400 <= n <= 1599:
    print(3)
if 1600 <= n <= 1799:
    print(2)
if 1800 <= n <= 1999:
    print(1)

Solution (Python):
X = int(input())

if X >= 1800:
    print("1")
elif X >= 1600:
    print("2")
elif X >= 1400:
    print("3")
elif X >= 1200:
    print("4")
elif X >= 1000:
    print("5")
elif X >= 800:
    print("6")
elif X >= 600:
    print("7")
elif X >= 400:
    print("8")

Solution (Python):








import sys
N = int(sys.stdin.readline())

print(10-N//200)

Solution (Python):
X = int(input())

if 400 <= X and X <= 599:
  print(8)
elif 600 and X <= 799:
  print(7)
elif 800 <= X and X <= 999:
  print(6)
elif 1000 <= X and X <= 1199:
  print(5)
elif 1200 <= X and X <= 1399:
  print(4)
elif 1400 <= X and X <= 1599:
  print(3)
elif 1600 <= X and X <= 1799:
  print(2)
else:
  print(1)

Solution (Python):
X=int(input())
A=X//200
print(10-A)

Solution (Python):
x=int(input())

print(10-x//200)

Solution (Python):
import sys
input = sys.stdin.readline
def main():
    X = int(input())
    if 400 <= X and X <= 599:
        print(8)
    elif 600 <= X and X <= 799:
        print(7)
    elif 800 <= X and X <= 999:
        print(6)
    elif 1000 <= X and X <= 1199:
        print(5)
    elif 1200 <= X and X <= 1399:
        print(4)
    elif 1400 <= X and X <= 1599:
        print(3)
    elif 1600 <= X and X <= 1799:
        print(2)
    elif 1800 <= X and X <= 1999:
        print(1)

if __name__ == '__main__':
    main()

Solution (Python):
import sys, math

if(__name__ == "__main__"):
    X = int( input().strip() )
    
    if(X < 600):
        print("8")
    elif(X < 800):
        print("7")
    elif(X < 1000):
        print("6")
    elif(X < 1200):
        print("5")
    elif(X < 1400):
        print("4")
    elif(X < 1600):
        print("3")
    elif(X < 1800):
        print("2")
    else:
        print("1")

Solution (Python):
x = int(input())
print(9 - (x // 200 - 1))

Solution (Python):
X = int(input())

if 400 <= X and X <= 599:
    print(8)
elif 600 <= X and X <= 799:
    print(7)
elif 800 <= X and X <= 999:
    print(6)
elif 1000 <= X and X <= 1199:
    print(5)
elif 1200 <= X and X <= 1399:
    print(4)
elif 1400 <= X and X <= 1599:
    print(3)
elif 1600 <= X and X <= 1799:
    print(2)
elif 1800 <= X and X <= 1999:
    print(1)
else:
    pass

Solution (Python):
print(10 - int(input()) // 200)

Solution (Python):
x = int(input())
if 400<=x<=599:
    print("8")
elif 600<=x<=799:
    print("7")
elif 800<=x<=999:
    print("6")
elif 1000<=x<=1199:
    print("5")
elif 1200<=x<=1399:
    print("4")
elif 1400<=x<=1599:
    print("3")
elif 1600<=x<=1799:
    print("2")
elif 1800<=x<=1999:
    print("1")

Solution (Python):
x = int(input())

if 400 <= x < 600:
    print(8)
elif 600 <= x < 800:
    print(7)
elif 800 <= x < 1000:
    print(6)
elif 1000 <= x < 1200:
    print(5)
elif 1200 <= x < 1400:
    print(4)
elif 1400 <= x < 1600:
    print(3)
elif 1600 <= x < 1800:
    print(2)
elif 1800 <= x < 2000:
    print(1)

Solution (Python):
x=int(input())

ans=0
if 1800<=x:
    ans=1
elif 1600<=x:
    ans=2
elif 1400<=x:
    ans=3
elif 1200<=x:
    ans=4
elif 1000<=x:
    ans=5
elif 800<=x:
    ans=6
elif 600<=x:
    ans=7
else:
    ans=8

print(ans)

Solution (Python):


import math

import itertools
from collections import deque
from collections import Counter

from fractions  import gcd

import bisect
x=int(input())
if 400<=x<=599:
    print(8)
elif 600<=x<=799:
    print(7)
elif 800<=x<=999:
    print(6)
elif 1000<=x<=1199:
    print(5)
elif 1200<=x<=1399:
    print(4)
elif 1400<=x<=1599:
    print(3)
elif 1600<=x<=1799:
    print(2)
else:
    print(1)

Solution (Python):
x = int(input())
if 400 <= x <= 599:
    print(8)
elif 600 <= x <= 799:
    print(7)
elif 800 <= x <= 999:
    print(6)
elif 1000 <= x <= 1199:
    print(5)
elif 1200 <= x <= 1399:
    print(4)
elif 1400 <= x <= 1599:
    print(3)
elif 1600 <= x <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
x = int(input())

if x>= 400 and x<=599:
    print('8')
    
elif x>= 600 and x<= 799:
    print('7')
    
elif x>= 800 and x<= 999:
    print('6')
    
elif x>= 1000 and x<= 1199:
    print('5')
    
elif x>= 1200 and x<= 1399:
    print('4')
    
elif x>= 1400 and x<= 1599:
    print('3')
    
elif x>= 1600 and x<= 1799:
    print('2')

elif x>= 1800 and x<= 1999:
    print('1')

Solution (Python):
n=int(input())

print((1999-n)//200+1)

Solution (Python):
X = int(input())
if X <= 599:
    print(8)
elif X <= 799:
    print(7)
elif X <= 999:
    print(6)
elif X <= 1199:
    print(5)
elif X <= 1399:
    print(4)
elif X <= 1599:
    print(3)
elif X <= 1799:
    print(2)
else:
    print(1)

Solution (Python):
X = int(input())

if 400 <= X < 600:
    print(8)
elif 600 <= X < 800:
    print(7)
elif 800 <= X < 1000:
    print(6)
elif 1000 <= X < 1200:
    print(5)
elif 1200 <= X < 1400:
    print(4)
elif 1400 <= X < 1600:
    print(3)
elif 1600 <= X < 1800:
    print(2)
elif 1800 <= X < 2000:
    print(1)

Solution (Python):

def main():
    x = int(input())

    if 400 <= x <= 599:
        print(8)
    elif 600 <= x <= 799:
        print(7)
    elif 800 <= x <= 999:
        print(6)
    elif 1000 <= x <= 1199:
        print(5)
    elif 1200 <= x <= 1399:
        print(4)
    elif 1400 <= x <= 1599:
        print(3)
    elif 1600 <= x <= 1799:
        print(2)
    elif 1800 <= x <= 1999:
        print(1)

if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())

print(10- x//200)

Solution (Python):
x = int(input())

if 400 <= x <= 599:
  print('8')
elif 600 <= x <= 799:
  print('7')
elif 800 <= x <= 999:
  print('6')
elif 1000 <= x <= 1199:
  print('5')
elif 1200 <= x <= 1399:
  print('4')
elif 1400 <= x <= 1599:
  print('3')
elif 1600 <= x <= 1799:
  print('2')
else:
  print('1')

Solution (Python):


def rating(X):
    if X <= 599: return 8
    if X <= 799: return 7
    if X <= 999: return 6
    if X <= 1199: return 5
    if X <= 1399: return 4
    if X <= 1599: return 3
    if X <= 1799: return 2
    if X <= 1999: return 1

    assert(False)


X = int(input())
print(rating(X))

Solution (Python):
import math
x = int(input())
print(10 - math.floor(x / 200))

Solution (Python):
n = int(input())

if (n >= 400) and (n < 600):
  print(8)
if (n >= 600) and (n < 800):
  print(7)
if (n >= 800) and (n < 1000):
  print(6)
if (n >= 1000) and (n < 1200):
  print(5)
if (n >= 1200) and (n < 1400):
  print(4)
if (n >= 1400) and (n < 1600):
  print(3)
if (n >= 1600) and (n < 1800):
  print(2)
if (n >= 1800) and (n < 2000):
  print(1)

Solution (Python):
x = int(input())

if 400 <= x and x <= 599:
    print(8)
elif 600 <= x and x <= 799:
    print(7)
elif 800 <= x and x <= 999:
    print(6)
elif 1000 <= x and x <= 1199:
    print(5)
elif 1200 <= x and x <= 1399:
    print(4)
elif 1400 <= x and x <= 1599:
    print(3)
elif 1600 <= x and x <= 1799:
    print(2)
elif 1800 <= x and x <= 1999:
    print(1)

Solution (Python):
X = int(input())
if(400 <= X <= 599):
    lank = 8
elif(600 <= X <= 799):
    lank = 7
elif(800 <= X <= 999):
    lank = 6
elif(1000 <= X <= 1199):
    lank = 5
elif(1200 <= X <= 1399):
    lank = 4
elif(1400 <= X <= 1599):
    lank = 3
elif(1600 <= X <= 1799):
    lank = 2
elif(1800 <= X <= 1999):
    lank = 1

print(lank)

Solution (Python):
n = int(input())

if 400 <= n <= 599:
    print(8)
elif  600 <= n <= 799:
    print(7)
elif  800 <= n <= 999:
    print(6)
elif  1000 <= n <= 1199:
    print(5)
elif  1200 <= n <= 1399:
    print(4)
elif  1400 <= n <= 1599:
    print(3)
elif  1600 <= n <= 1799:
    print(2)
elif  1800 <= n <= 1999:
    print(1)
else:
    print('error')

Solution (Python):
X = int(input())

if X>=400 and X<=599:
    print('8')
elif X>=600 and X<=799:
    print('7')
elif X>=800 and X<=999:
    print('6')
elif X>=1000 and X<=1199:
    print('5')
elif X>=1200 and X<=1399:
    print('4')
elif X>=1400 and X<=1599:
    print('3')
elif X>=1600 and X<=1799:
    print('2')
elif X>=1800 and X<=1999:
    print('1')

Solution (Python):
x=int(input())
if 400<=x<=599:
  print(8)
elif 600<=x<=799:
  print(7)
elif 800<=x<=999:
  print(6)
elif 1000<=x<=1199:
  print(5)
elif 1200<=x<=1399:
  print(4)
elif 1400<=x<=1599:
  print(3)
elif 1600<=x<=1799:
  print(2)
elif 1800<=x<=1999:
  print(1)

Solution (Python):







x = int(input())

if 400 <= x and x <= 599:
    print(8)

elif 600 <= x and x <= 799:
    print(7)

elif 800 <= x and x <= 999:
    print(6)

elif 1000 <= x and x <= 1199:
    print(5)

elif 1200 <= x and x <= 1399:
    print(4)

elif 1400 <= x and x <= 1599:
    print(3)

elif 1600 <= x and x <= 1799:
    print(2)

else:
    print(1)

Solution (Python):
x=int(input())
if x>=400 and x<=599:
    print(8)
elif x>=600 and x<=799:
    print(7)
elif x>=800 and x<=999:
    print(6)
elif x>=1000 and x<=1199:
    print(5)
elif x>=1200 and x<=1399:
    print(4)
elif x>=1400 and x<=1599:
    print(3)
elif x>=1600 and x<=1799:
    print(2)
else:
    print(1)

Solution (Python):
X = int(input())

if 400 <= X <=599 :
  print("8")
elif 600 <= X <=799 :
  print("7")
elif 800 <= X <=999 :
  print("6")
elif 1000 <= X <=1199 :
  print("5")
elif 1200 <= X <=1399 :
  print("4")
elif 1400 <= X <=1599 :
  print("3")
elif 1600 <= X <=1799 :
  print("2")
elif 1800 <= X <=1999 :
  print("1")

Solution (Python):
x=int(input())
if 400<=x<600:
    print(8)
elif 600<=x<800:
    print(7)
elif 800<=x<1000:
    print(6)
elif 1000<=x<1200:
    print(5)
elif 1200<=x<1400:
    print(4)
elif 1400<=x<1600:
    print(3)
elif 1600<=x<1800:
    print(2)
elif 1800<=x<2000:
    print(1)

Solution (Python):
X = int(input())


if (400 <= X) and (X <= 599):
    print(8)

if (600 <= X) and (X <= 799):
    print(7)

if (800 <= X) and (X <= 999):
    print(6)

if (1000 <= X) and (X <= 1199):
    print(5)

if (1200 <= X) and (X <= 1399):
    print(4)

if (1400 <= X) and (X <= 1599):
    print(3)

if (1600 <= X) and (X <= 1799):
    print(2)

if (1800 <= X) and (X <= 1999):
    print(1)