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.



Sample input:
725


Sample output:
7

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print((2199 - int(input())) // 200)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def resolve():
    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')

if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
x=int(input())
if x in range(400,600): print("8")
if x in range(600,800): print("7")
if x in range(800,1000): print("6")
if x in range(1000,1200): print("5")
if x in range(1200,1400): print("4")
if x in range(1400,1600): print("3")
if x in range(1600,1800): print("2")
if x in range(1800,1999+1): print("1")

Submission status: Accepted

Solution code:
n = int(input())
if n >= 1800 and n <= 1999:
  print('1')
elif n >= 1600:
  print('2')
elif n >= 1400:
  print('3')
elif n >= 1200:
  print('4')
elif n >= 1000:
  print('5')
elif n >= 800:
  print('6')
elif n >= 600:
  print('7')
elif n >= 400:
  print('8')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8
x = int(input())
print(10 - (x // 200))

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

print(10- x//200)

Submission status: Accepted

Solution code:
import math  # noqa: F401
from collections import deque  # noqa: F401
from typing import Deque, Dict, List, Optional, Tuple, Union  # noqa: F401


def main(X: int):
    print(f"{10-X//200}")


if __name__ == "__main__":
    X = int(input())
    main(X)

Submission status: Accepted

Solution code:
# coding:utf-8
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)

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np
from functools import reduce

rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.readline().split())
rl = lambda: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7

a = ri()//200
print(10-a)

Submission status: Accepted

Solution code:
x = int(input())
ans = 8
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)

Submission status: Accepted

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

Submission status: Accepted

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

    print((2199 - x) // 200)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
rate = int(input())
print(10 - rate//200)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))

X = ii()

tmp = X // 100
step = 0

for i in range(4, 20, 2):
    if i <= tmp < i+2:
        print(8-step)
        exit()
    step += 1

Submission status: Accepted

Solution code:
print(8-__import__("math").floor((int(input())-400)/200))

Submission status: Accepted

Solution code:
n=int(input())
n-=400
n=n//200
print(8-n)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.readline

X = int(readline())

limit = 600
rank = 8
for i in range(8):
  if X < limit:
    print(rank)
    break
  limit += 200
  rank -= 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input()) - 400
l = [8,7,6,5,4,3,2,1]
print(l[x//200])

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
n = int(input())
print(10 - n // 200)

Submission status: Accepted

Solution code:
#!/usr/bin python3
# -*- coding: utf-8 -*-

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

Submission status: Accepted

Solution code:
X= int(input())
if(X>=400 and X<=599):
	print(8)
elif(X>599 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)
elif(X>=1800 and X<2000):
    print(1)

Submission status: Accepted

Solution code:
a = int(input())
b = int(a//200)
if b == 2:
  print(8)
elif b == 3:
  print(7)
elif b== 4:
  print(6)
elif b== 5:
  print(5)
elif b==6:
  print(4)
elif b==7:
  print(3)
elif b==8:
  print(2)
elif b==9:
  print(1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
try:
  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)
except EOFError:
  print(" ")

Submission status: Accepted

Solution code:
n = int(input())
print(10 - n//200)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
x=int(input())
print(math.ceil((2000-x)/200))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = (int(input()) - 400) // 200
print(8-X)

Submission status: Accepted

Solution code:
rating = int(input())
print(10 - rating // 200)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n):
    res = [None] * n
    for i in range(n):
        res[i] = II()
    return res
def LIR(n):
    res = [None] * n
    for i in range(n):
        res[i] = LI()
    return res
def FR(n):
    res = [None] * n
    for i in range(n):
        res[i] = IF()
    return res
def LIR(n):
    res = [None] * n
    for i in range(n):
        res[i] = IF()
    return res
def LIR_(n):
    res = [None] * n
    for i in range(n):
        res[i] = LI_()
    return res
def SR(n):
    res = [None] * n
    for i in range(n):
        res[i] = S()
    return res
def LSR(n):
    res = [None] * n
    for i in range(n):
        res[i] = LS()
    return res
mod = 1000000007
inf = float('INF')

#solve
def solve():
    x = II()
    print((1999 - x) // 200 + 1)
    return


#main
if __name__ == '__main__':
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from functools import reduce
from fractions import gcd
import math
import bisect
import itertools
import sys
input = sys.stdin.readline
INF = float("inf")


# 処理内容
def main():
    X = int(input())
    print(10 - X // 200)
    


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X = int(input())

lst = [ [400, 599, 8], [600, 799, 7], [800, 999, 6], [1000, 1199, 5], [1200, 1399, 4], [1400, 1599, 3], [1600, 1799, 2], [1800, 1999, 1] ]

def Kyu(X):
   
   for i in lst:
      if i[0] <= X <= i[1]:
         result = i[2]
         break
   print(result)

Kyu(X)

Submission status: Accepted

Solution code:
x=float(input())
for i in range(8):
  if 400+200*i<=x<400+200*(i+1):
    print(8-i)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())
b=a//200
print(str(10-b))

Submission status: Accepted

Solution code:
x = float(input())
for i in range(8):
  if 400 + 200 * i <= x < 400 + 200 * (i + 1):
    print(8 - i)

Submission status: Accepted

Solution code:
n=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def I(): return int(sys.stdin.readline().rstrip())

print(10-I()//200)

Submission status: Accepted

Solution code:
x = int(input())
for i in range(8):
  if 400 + 200 * i <= x < 400 + 200 * (i + 1):
    print(8 - i)

Submission status: Accepted

Solution code:
X = int(input())
X = 8 - ((X - 400) // 200)
print(X)

Submission status: Accepted

Solution code:
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)
elif x <= 1999:
    print(1)

Submission status: Accepted

Solution code:
x = int(input())
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)

Submission status: Accepted

Solution code:
n = int(input())

rate = 600
rank = 8

while True:
    if n < rate:
        print(rank)
        break
    rate += 200
    rank -= 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = 400
b = 199
L1= []
L2 = []
for i in range(8):
    L1.append(a+200*(i))
    L2.append(a+200*(i)+b)


n = int(input())
for i in range(8):
    if L1[i] <= n <= L2[i]:
        print(8-i)

Submission status: Accepted

Solution code:
import sys
INF = 1 << 60
MOD = 10**9 + 7 # 998244353
sys.setrecursionlimit(2147483647)
input = lambda:sys.stdin.readline().rstrip()
def resolve():
    x = int(input())
    print(10 - x // 200)
resolve()

Submission status: Accepted

Solution code:
import sys
import math
from collections import defaultdict
from bisect import bisect_left, bisect_right

sys.setrecursionlimit(10**7)
def input():
    return sys.stdin.readline()[:-1]

mod = 10**9 + 7

def I(): return int(input())
def LI(): return list(map(int, input().split()))
def LIR(row,col):
    if row <= 0:
        return [[] for _ in range(col)]
    elif col == 1:
        return [I() for _ in range(row)]
    else:
        read_all = [LI() for _ in range(row)]
        return map(list, zip(*read_all))

#################

X = I()

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

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, gcd
from itertools import accumulate, permutations, combinations, product, groupby, combinations_with_replacement
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

X = INT()
l = [400, 600, 800, 1000, 1200, 1400, 1600, 1800]
print(9-bisect(l, X))

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    X = int(rl())
    print(10 - X // 200)


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
input=lambda: sys.stdin.readline().rstrip()
YesNo=lambda b: bool([print('Yes')] if b else print('No'))
YESNO=lambda b: bool([print('YES')] if b else print('NO'))
int1=lambda x:int(x)-1

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)

Submission status: Accepted

Solution code:
X=int(input())
count=8
while X>=600:
    X-=200
    count-=1
print(count)

Submission status: Accepted

Solution code:
import sys


def resolve():
    readline = sys.stdin.readline

    X = int(readline())
    
    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)

resolve()

Submission status: Accepted

Solution code:
x=int(input())
for i in range(3,11):
  if x<i*200:
    print(11-i)
    break

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0

n = int(readline())
dic1 = {
    4:8,
    6:7,
    8:6,
    10:5,
    12:4,
    14:3,
    16:2,
    18:1,
}
for i in range(4,19,2):
    if i*100 <= n < (i+2)*100:
        print(dic1[i])

Submission status: Accepted

Solution code:
import math
def solve():
    X=int(input())
    print(math.ceil((2000-X)/200))
if __name__=="__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
value = int(input())
kyu_rated = 8
lvalue = 400
rvalue = 599
for i in range(0, 8):
    if lvalue <= value <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1

Submission status: Accepted

Solution code:
a = int(input())

if 400 <= a and a <= 599:
    print(8)
elif 600 <= a and a <= 799:
    print(7)

elif 800 <=  a and a <= 999:
    print(6)
elif 1000 <= a and a <= 1199:
    print(5)

elif 1200 <= a and a <= 1399:
    print(4)
elif 1400 <= a and a <= 1599:
    print(3)
elif 1600 <= a and a <= 1799:
    print(2)

elif 1800 <= a and a <= 1999:
    print(1)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

Solution code:
n = int(input())
print(10-n//200)

Submission status: Accepted

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

n = inp()
print(10-n//200)

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
x = int(input())

def score(x):
 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")

score(x)

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())
print(8 - (X - 400)//200)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jul 25 18:33:18 2020

@author: Paras
"""

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
n=int(input())
count = 0

L=list(range(400,2001,200))
val=len(L)
ans = 0
for i in range(val-1):
    if L[i]<=n<L[i+1]:
        ans=8-count
        break
    else:
        count+=1
print(ans)

Submission status: Accepted

Solution code:
N, = map(int, input().split())
print(10-N//200)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
X = int(input())

for i in range(2,11):
    if 200*i <= X <= 200*(i+1)-1:
        print(10-i)
        break

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

Solution code:
x = int(input())

if(x >= 400 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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
rate = int(input())
bar = 1800
for kyu in range(1, 9):
  if rate >= bar:
    print(kyu)
    break
  bar -= 200