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 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())
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)
else:
  print(8)

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)
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 tmp(n):
    if n >= 1800 and n < 2000:
        return 1
    elif n >= 1600 and n < 1800:
        return 2
    elif n >= 1400 and n < 1600:
        return 3
    elif n >= 1200 and n < 1400:
        return 4
    elif n >= 1000 and n < 1200:
        return 5
    elif n >= 800 and n < 1000:
        return 6
    elif n >= 600 and n < 800:
        return 7
    elif n >= 400 and n < 600:
        return 8
    
n = int(input())
print(tmp(n))

Solution (Python):

X = int(input())
K = 8

for i in range(8):
    if X < 600:
        break
    else:
        K = K - 1
        X = X - 200

print(K)

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())

print (10-X//200)

Solution (Python):
x = int(input())
print(10-(x // 100)//2)

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):
n = int(input())
if n >= 400 and n < 600:
  print(8)
elif n >= 600 and n < 800:
  print(7)
elif n >= 800 and n < 1000:
  print(6)
elif n >= 1000 and n < 1200:
  print(5)
elif n >= 1200 and n < 1400:
  print(4)
elif n >= 1400 and n < 1600:
  print(3)
elif n >= 1600 and n < 1800:
  print(2)
elif n >= 1800 and n < 2000:
  print(1)

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

Solution (Python):
import math
import collections
import fractions
import itertools
import functools
import operator

def solve():
    x = int(input())
    kyu = 8
    for i in range(400, 1801, 200):
        if i <= x <= i+199:
            print(kyu)
        kyu -= 1
    return 0

if __name__ == "__main__":
    solve()

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):
import math

x=int(input())

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

Solution (Python):
x = int(input())
kyu = 8
border = 600
while kyu > 0:
  if x < border:
    break
  kyu -= 1
  border += 200
print(kyu)

Solution (Python):
X = int(input())
print((21-(X//100))//2)

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 = 8
tmp = x
for j,i in enumerate(range(4, 20, 2)):
    if i*100 <= x < (i+2)*100:
        print(9 - j-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(int(8))
elif 600<=x<=799:
    print(int(7))
elif 800<=x<=999:
    print(int(6))
elif 1000<=x<=1199:
    print(int(5))
elif 1200<=x<=1399:
    print(int(4))
elif 1400<=x<=1599:
    print(int(3))
elif 1600<=x<=1799:
    print(int(2))
elif 1800<=x<=1999:
    print(int(1))
else:
    print(int(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)
elif x<2000:
    print(1)

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

left = 400
f = 8
while left < 2000:
    if N < left + 200 and left <= N:
        print(f)
        break
    else:
        f -= 1
        left += 200

Solution (Python):
import math

def a():
    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)

def b():
    pass



def c():
    pass



def d():
    pass


a()

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

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

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

  rank = 0
  if X<=599:
    print(8)
    return True

  if X<=799:
    print(7)
    return True  

  if X<=999:
    print(6)
    return True  

  if X<=1199:
    print(5)
    return True  

  if X<=1399:
    print(4)
    return True  

  if X<=1599:
    print(3)
    return True  

  if X<=1799:
    print(2)
    return True  

  if X<=1999:
    print(1)
    return True  

if __name__ == "__main__":
  resolve()

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')
else:
    print('1')

Solution (Python):
import sys
n = int(sys.stdin.readline().rstrip("\n"))
k = n // 200
print(10-k)

Solution (Python):
def main():
    X = int(input())
    lst = [i * 200 + 400 for i in range(8)]
    lst.reverse()
    for i, l in enumerate(lst):
        if X >= l:
            print(i+1)
            break

if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())
if 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)
else:
    print(1)

Solution (Python):
def main():
    X = int(input())
    for i in range(1,9):
        I = 2000-200*i
        if I<=X<=I+199:
            print(i)
    
if __name__ == '__main__':
    main()

Solution (Python):




def input_int():
    return int(input())



def int1(x):
    return int(x) - 1



def input_to_int_map():
    return map(int, input().split())



def input_to_int_tuple():
    return tuple(map(int, input().split()))



def input_to_int_tuple_minus1():
    return tuple(map(int1, input().split()))

def main():
    define = {
        "8": (400, 599),
        "7": (600, 799),
        "6": (800, 999),
        "5": (1000, 1199),
        "4": (1200, 1399),
        "3": (1400, 1599),
        "2": (1600, 1799),
        "1": (1800, 1999),
    }

    x = input_int()

    for k, v in define.items():
        if v[0] <= x <= v[1]:
            return k


if __name__ == "__main__":
    print(main())

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

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

if 400<=int and int<=599:
  print("8")

elif 600<=int and int<=799:
  print("7")

elif 800<=int and int<=999:
  print("6")


elif 1000<=int and int<=1199:
  print("5")


elif 1200<=int and int<=1399:
  print("4")


elif 1400<=int and int<=1599:
  print("3")


elif 1600<=int and int<=1799:
  print("2")

else:
  print("1")

Solution (Python):
x = int(input())
res = 8
for i in range(600, 1801, 200):
    if x >= i:
        res -= 1
    else:
        break
print(res)

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)
elif X >= 1800 and X <= 1999:
  print(1)

Solution (Python):
X = int(input())
if 400 <= X and 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)
elif X <= 1999:
  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):
X = int(input())
 
if 400 <= X < 600:
    result = 8
elif X < 800:
    result = 7
elif X < 1000:
    result = 6
elif X < 1200:
    result = 5
elif X < 1400:
    result = 4
elif X < 1600:
    result = 3
elif X < 1800:
    result = 2
elif X < 2000:
    result = 1
 
print(result)

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)
else:
    print(1)

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

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

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)
else: print(1)

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

Solution (Python):
def read():
    return int(input())

RANKS = [(599, 8),
         (799, 7),
         (999, 6),
         (1199, 5),
         (1399, 4),
         (1599, 3),
         (1799, 2),
         (1999, 1)]

def ans(X):
    for th, r in RANKS:
        if X <= th:
            return r

if __name__ == '__main__':
    X = read()
    print(ans(X))

Solution (Python):
X = int(input())
rate_sec = [i*200+600 for i in range(8)]

for key, value in enumerate(rate_sec):
    if X < value:
        print(8-key)
        break

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

print(ans)

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 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):

import sys
rl = sys.stdin.buffer.readline

X = int(rl())

print(8 - (X - 400) // 200)

Solution (Python):
import math
X = int(input())
print(str(10-math.floor(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)
elif 1800 <= X and X <= 1999:
    print(1)

Solution (Python):
X=int(input())
import math
a=math.floor((X//100)/2)
b=10-a
print(b)

Solution (Python):
def kyu(rating: int):
    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


X = int(input())

print(kyu(X))

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:
    exit(0)

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

print((1999-x)//200 + 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())
a=0
if X<=599:
  a=8
elif (X>=600)&(X<=799):
  a=7
elif (X>=800)&(X<=999):
  a=6
elif (X>=1000)&(X<=1199):
  a=5
elif (X>=1200)&(X<=1399):
  a=4
elif (X>=1400)&(X<=1599):
  a=3
elif (X>=1600)&(X<=1799):
  a=2
elif (X>=1800)&(X<=1999):
  a=1
print(a)

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

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

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())
K =[400,600,800,1000,1200,1400,1600,1800,9999]
for k in range(8):
    if K[k]<=X and K[k+1]>X:
        print(8-k)
        break

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 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())

a = float((X // 200) * 200)

print(int(-1/200*(a - 400) + 8))

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())

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())
k=0
for i in range(6,20,2):
    if X<i*100:
        break
    else:
        k+=1
        continue
print(8-k)

Solution (Python):
import math
import sys


n = int(input())

if n >= 400 and n < 600:
    print(8)

elif n >= 600 and n < 800:
    print(7)

elif n >= 800 and n < 1000:
    print(6)

elif n >= 1000 and n < 1200:
    print(5)

elif n >= 1200 and n < 1400:
    print(4)

elif n >= 1400 and n < 1600:
    print(3)

elif n >= 1600 and n < 1800:
    print(2)

else:
    print(1)

Solution (Python):
X = int(input())
G = 0
print((1999 - X)//200 + 1)

Solution (Python):
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)

Solution (Python):
X=int(input())
for i in range(1,9):
    a=400+(8-i)*200
    if a<=X<=a+199:
        print(i)
        break

Solution (Python):
def main():
    x = int(input())
    if 400 <= 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)     
         
if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())
count = 0
while x >= 400:
    count += 1
    x -= 200
print(8-count+1)

Solution (Python):

N = int(input())

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

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


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

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

a, b = 400, 599
s = 8

while True:
    if a <= X <= b:
        print(s)
        break
    a += 200
    b += 200
    s -= 1

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

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

if 400 <= 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')
elif 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):
rating = int(input())
kyu = int(rating/200)
kyu = 10 - kyu
print(kyu)

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):
rate = int(input())

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

Solution (Python):

def solve(n):
    if n in range(400, 600):
        print(8)
        return
    if n in range(600, 800):
        print(7)
        return
    if n in range(800, 1000):
        print(6)
        return
    if n in range(1000, 1200):
        print(5)
        return
    if n in range(1200, 1400):
        print(4)
        return
    if n in range(1400, 1600):
        print(3)
        return
    if n in range(1600, 1800):
        print(2)
        return
    if n in range(1800, 2000):
        print(1)
        return



def main():
    t = int(input())
    solve(t)


main()

Solution (Python):
x=int(input())
if x>=1800:
  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 4<=x<=599:
  print(8)

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

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

print(A)

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 X>=400 and X <=599:
    print("8")
if X>=600 and X <=799:
    print("7")
if X>=800 and X <=999:
    print("6")
if X>=1000 and X <=1199:
    print("5")
if X>=1200 and X <=1399:
    print("4")
if X>=1400 and X <=1599:
    print("3")
if X>=1600 and X <=1799:
    print("2")
if X>=1800 and 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 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 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")
else:
    print("2")

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

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

print(a)

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):
import sys
import numpy as np

X = int(input())


if 399 < X and 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())

k = 8
for i in range(400, 1801, 200):
    if i <= X <= i+199:
        print(k)
    k -= 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 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 x >= 400 and x < 600:
    print(8)
elif x >= 600 and x < 800:
    print(7)
elif x >= 800 and x < 1000:
    print(6)
elif x >= 1000 and x < 1200:
    print(5)
elif x >= 1200 and x < 1400:
    print(4)
elif x >= 1400 and x < 1600:
    print(3)
elif x >= 1600 and x < 1800:
    print(2)
else:
    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())

print(10-x//200)

Solution (Python):
x = int(input())
lank8 = list(range(400, 600))
lank7 = list(range(400, 800))
lank6 = list(range(400, 1000))
lank5 = list(range(400, 1200))
lank4 = list(range(400, 1400))
lank3 = list(range(400, 1600))
lank2 = list(range(400, 1800))
lank1 = list(range(400, 2000))
if x in lank8:
    print(8)
elif x in lank7:
    print(7)
elif x in lank6:
    print(6)
elif x in lank5:
    print(5)
elif x in lank4:
    print(4)
elif x in lank3:
    print(3)
elif x in lank2:
    print(2)
elif x in lank1:
    print(1)

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

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())

print( -(x//200) + 10 )

Solution (Python):
from sys import stdin

def main():
    h = int(input())
    kyu = 8
    if 600 <= h and h < 800:
        kyu = 7
    if 800 <= h and h < 1000:
        kyu = 6
    if 1000 <= h and h < 1200:
        kyu = 5
    if 1200 <= h and h < 1400:
        kyu = 4
    if 1400 <= h and h < 1600:
        kyu = 3
    if 1600 <= h and h < 1800:
        kyu = 2
    if 1800 <= h and h < 2000:
        kyu = 1
    print(kyu)
    
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):
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 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())
ans = 8 - ((x -400) // 200)

print(ans)

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):
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)