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())
if 400 <= x:
    if x >= 600:
        if x >= 800:
            if x >= 1000:
                if x >= 1200:
                    if x >= 1400:
                        if x >= 1600:
                            if x >= 1800:
                                print(1)
                            else:
                                print(2)
                        else:
                            print(3)
                    else:
                        print(4)
                else:
                    print(5)
            else:
                print(6)
        else:
            print(7)
    else:
        print(8)

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')
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")
elif n <=1999:
    print("1")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
kyu = [8, 7, 6, 5, 4, 3, 2]
rate = [600, 800, 1000, 1200, 1400, 1600, 1800]

flag = True
for k, r in zip(kyu, rate):
    if X < r:
        print(k)
        flag = False
        break
if flag:
    print(1)

Submission status: Accepted

Solution code:

M = int(input())

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

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 600 <= 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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np
s=int(input())

flag=0
threshold=np.array([600, 800, 1000, 1200, 1400, 1600, 1800])
Kyu=np.array([8,7,6,5,4,3,2,1])
for i in range(np.size(threshold)):
    if s< threshold[i]:
        print(Kyu[i])
        flag=1
        break
if flag==0:
    print(Kyu[-1])

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

y = x // 200

print(10 - y)

Submission status: Accepted

Solution code:
X = int(input()) 

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

Submission status: Accepted

Solution code:
X = int(input())

print(10 - X//200)

Submission status: Accepted

Solution code:
x = int(input())
result = 0

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

print(result)

Submission status: Accepted

Solution code:
X = int(input())

N = 1799
ans = 1
while N >= 399:
    if X > N:
        print(ans)
        break
    else:
        N -= 200
        ans += 1

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(4100000)
import math
import itertools
INF = float('inf')
from heapq import heapify, heappop, heappush

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

    tmp = x // 100
    for i in range(8):
        if tmp ==  4+2*i or tmp == 4+2*i+1:
            print(8-i)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
"""
    こんにちは。これはクシャルです
    
    Author : thekushalghosh (クシャル)
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time,itertools
start_time = time.time()
##########################################################################
################# ---- THE ACTUAL CODE STARTS BELOW ---- #################
    
def solve():
    n = inp()
    q = 2199 - n
    q = q // 200
    print(q)
    
################## ---- THE ACTUAL CODE ENDS ABOVE ---- ##################
##########################################################################
 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
        sys.stdout.close()
    
#---------------------- USER DEFINED INPUT FUNCTIONS ----------------------#
def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(int,input().split()))
 
#------------------ USER DEFINED PROGRAMMING FUNCTIONS ------------------#
def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1] + 1
    return(q)

def counter_elements(a):
    q = dict()
    for i in range(len(a)):
        if a[i] not in q:
            q[a[i]] = 0
        q[a[i]] = q[a[i]] + 1
    return(q)

def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97],1
    return(q)
 
def factors(n):
    q = []
    for i in range(1,int(n ** 0.5) + 1):
        if n % i == 0: q.append(i); q.append(n // i)
    return(list(sorted(list(set(q)))))
 
def prime_factors(n):
    q = []
    while n % 2 == 0: q.append(2); n = n // 2
    for i in range(3,int(n ** 0.5) + 1,2):
        while n % i == 0: q.append(i); n = n // i
    if n > 2: q.append(n)
    return(list(sorted(q)))

def transpose(a):
    n,m = len(a),len(a[0])
    b = [[0] * n for i in range(m)]
    for i in range(m): 
        for j in range(n): 
            b[i][j] = a[j][i]
    return(b)

#-----------------------------------------------------------------------#
        
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
main()

Submission status: Accepted

Solution code:
X = int(input())
kyu = 8
for i in range(400,2000,200):
    if i <= X and i+200 > X:
        print(kyu)
        break
    kyu -= 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
s = 199
t = 400
if t <= X <= t + s:
    print(8) 
elif t + 200 * 1 <= X <= t + 200 * 1 + s:
    print(7)
elif t + 200 * 2 <= X <= t + 200 * 2 + s:
    print(6)
elif t + 200 * 3 <= X <= t + 200 * 3 + s:
    print(5)
elif t + 200 * 4 <= X <= t + 200 * 4 + s:
    print(4)
elif t + 200 * 5 <= X <= t + 200 * 5 + s:
    print(3)
elif t + 200 * 6 <= X <= t + 200 * 6 + s:
    print(2)
elif t + 200 * 7 <= X <= t + 200 * 7 + s:
    print(1)

Submission status: Accepted

Solution code:
from collections import deque, Counter, defaultdict
from itertools import chain, combinations
import json
# import numpy as np
import bisect
import sys
import math
import bisect
from functools import lru_cache
import itertools

sys.setrecursionlimit(10 ** 8)

M = 10 ** 9 + 7
INF = 10 ** 17


def main():
    # A, B, C = [int(a) for a in input().split()]
    # A = [int(a) for a in input().split()]
    X = int(input())
    # A = [int(a) for a in input().split()]
    # T1, T2, T3 = [int(a) for a in input().split()]
    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)


if __name__ == "__main__":
    main()

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:
# -*- coding: utf-8 -*-

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        for line in sys.stdin:
            lines.append(line.strip())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    x = int(lines[0])
    

    return (x, )


def solve(x):
    
    result = None
    for c in range(1, 9):
        if 2000 - 200 * c <= x and x <= 2000 - 200 * (c-1) - 1:
            result = c
            break

    return result
    


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    X = int(input())
    ans = 0
    for i in range(9):
        if 200*(10 - i) <= X and X< 200*(11-i):
            ans = i
            break

    return ans

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

Submission status: Accepted

Solution code:
from bisect import bisect_right

X = int(input())
rating = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]
grade = [8, 7, 6, 5, 4, 3, 2, 1]

idx = bisect_right(rating, X)
print(grade[idx - 1])

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    x = int(input())
    cnt = 9
    for i in range(400,2000,200):
        cnt -= 1
        if i <= x and x < i+200:
            print(cnt)
    
   
if __name__ == "__main__":
    main()

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

Submission status: Accepted

Solution code:
X = int(input())
A = 2000 - X
if A % 200 == 0:
    print(str(A // 200)) 
else:
    print(str(A // 200 + 1))

Submission status: Accepted

Solution code:
X = int(input())

i=1800
rankA = 1

while 1:
    if i<=X:
        print(rankA)
        break
    
    i-=200
    rankA+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
M = int(input())

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

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:
#-*- using:utf-8 -*-

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)

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

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

print(s)

Submission status: Accepted

Solution code:
def main():
    import sys
    def input():
        return sys.stdin.readline()[:-1]
    X=int(input())
    A=[399.99+200*i for i in range(8)]
    A.append(X)
    A.sort()
    print(9-A.index(X)) 




if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())
print(8 - (x - 400) // 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")
else:
  print("1")

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x=int(input())
ans=-1
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 and x<=1999):
    ans=1
print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
n=int(input())
n=n-400
num=int(n/200)
rate=8-num
print(rate)

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:
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:
n = int(input())
print(10- n//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')
else:
    print('1')

Submission status: Accepted

Solution code:
def Kyu_in_atcoder():
    score = int(input())
    if score >= 1800:
        print(1)
    elif score >= 1600:
        print(2)
    elif score >= 1400:
        print(3)
    elif score >= 1200:
        print(4)
    elif score >= 1000:
        print(5)
    elif score >= 800:
        print(6)
    elif score >= 600:
        print(7)
    elif score >= 400:
        print(8)


def main():
	Kyu_in_atcoder()


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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())
i=1
while(1):
    if(0<=x-1800+(i-1)*200):
        print(i)
        exit()
    i=i+1

Submission status: Accepted

Solution code:
X = int(input())

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

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'
else :
    ans = '1'

print(ans)

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 math
N=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

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())
for i in range(2, 11):
    if i*200<=x and x<(i+1)*200:
        print(10 - i)
        break

Submission status: Accepted

Solution code:
x = int(input())
l = int(x/100)
if l%2==1:
    l -= 1
l -= 4
l = l/2
print(int(8-l))

Submission status: Accepted

Solution code:
def main():
    X = int(input())
    return 10 - X // 200

print(main())

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:
	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())
num = 2000-x
if num%200 !=0:
	print(num//200+1)
else:
  print(num//200)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input()) - 400

count = 8

while True:
  
  if x < 200 or count == 1:
    break
    
  count -= 1
  x -= 200
  
print(count)

Submission status: Accepted

Solution code:
X = int(input())

X -= 400

n = X // 200

print(8 - n)

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
rating = {4:8, 6:7, 8:6, 10:5, 12:4, 14:3, 16:2, 18:1}
X = X //100
if X % 2 == 1:
    X = X -1
print(rating.get(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)
else:
    print(1)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

X = int(input())
K = 8

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

print(K)

Submission status: Accepted

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

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

print (10-X//200)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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()
# b()
# c()
# d()