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:
import sys
input=sys.stdin.buffer.readline
import os 
from math import*


x=[400,600,800,1000,1200,1400,1600,1800,2000]
n=int(input())
for i in range(len(x)):
	if n<x[i]:
		print(9-i)
		break

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

    grade = 0
    for i in range(8):
        if (400 + 200 * i) <= x < (400 + 200 * (i + 1)):
            grade = 8 - i

    print(grade)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys
import  math
import fractions
from collections import defaultdict
stdin = sys.stdin
     
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

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:
def main():
    X = int(input())
    c = 600
    k = 8
    while True:
        if X < c:
            print(k)
            break
        c += 200
        k -= 1

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

for i, start in enumerate(range(400, 1900, 200)):
    if start <= X < start + 200:
        print(8 - i)

Submission status: Accepted

Solution code:
import sys
input=lambda: sys.stdin.readline().rstrip()
x=int(input())
print(9-(x-200)//200)

Submission status: Accepted

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

Submission status: Accepted

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


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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
X = int(input())
X -= 400
for i in range(8):
    if 200*i + 199 >= X and X >= 200*i:
        print(8-i)

Submission status: Accepted

Solution code:
point = int(input())
rank = 1

for val in range(1800, 200, -200):
    if point >= val:
        break
    else:
        rank += 1
print(rank)

Submission status: Accepted

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

Submission status: Accepted

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

print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = eval(input().strip())

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

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:
x = int(input())
l = [0,1800,1600,1400,1200,1000,800,600,400]
for i in range(1,9):
    if x >= l[i]:
        print(i)
        break

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:
x = int(input())
print(10-x//200)

Submission status: Accepted

Solution code:
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:
n = int(input())
print(10-int(n/200))

Submission status: Accepted

Solution code:
rate = int(input())

print(10 - rate // 200)

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3


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


if __name__ == "__main__":
    main()

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:
x = int(input())
rank = 8-(x-400)//200
print(rank)

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]


def main():
    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)           
    
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

t=x//200

print(10-t)

Submission status: Accepted

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

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())
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
elif X >= 400:
    ans = 8
print(ans)

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

n = int(input())

print(8 - int((n - 400) / 200))

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')
elif a >= 400:
    print('8')
else:
    print('error')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    import sys
    input = sys.stdin.readline

    x = int(input())

    print(10 - x // 200)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    import sys
    input = sys.stdin.readline

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

# 識別する関数
def func(num):
    num = int(num)
    if 400 <= num and num <= 599:
        return 8
    elif 600 <= num and num <= 799:
        return 7
    elif 800 <= num and num <= 999:
        return 6
    elif 1000 <= num and num <= 1199:
        return 5
    elif 1200 <= num and num <= 1399:
        return 4
    elif 1400 <= num and num <= 1599:
        return 3
    elif 1600 <= num and num <= 1799:
        return 2
    else:
        return 1


if __name__ == "__main__":
    num = input()
    print(func(num))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
kyu = [2000, 1800, 1600, 1400, 1200, 1000, 800, 600, 400, 0]
x = int(input())
for k, num in enumerate(kyu):
    if num > x >= kyu[k+1]:
        print(k + 1)
        break

Submission status: Accepted

Solution code:
X = int(input())

if 400<=X<600:
    ans = 8

elif 600<=X<800:
    ans = 7

elif 800<=X<1000:
    ans = 6

elif 1000<=X<1200:
    ans = 5

elif 1200<=X<1400:
    ans = 4

elif 1400<=X<1600:
    ans = 3

elif 1600<=X<1800:
    ans = 2

elif 1800<=X<2000:
    ans = 1

print(ans)

Submission status: Accepted

Solution code:
X = int(input())

print(10-(X//200))

Submission status: Accepted

Solution code:
x = int(input())
ans = ''
if 400 <= 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'
elif x < 2000:
    ans = '1'
print(ans)

Submission status: Accepted

Solution code:
def solve_israil(n):
	if 400<=n and n<=599:
		return 8
	elif 600<=n and n<=799:
		return 7
	elif 800<=n and n<=999:
		return 6
	elif 1000<=n and n<=1199:
		return 5
	elif 1200<=n and n<=1399:
		return 4
	elif 1400<=n and n<=1599:
		return 3
	elif 1600<=n and n<=1799:
		return 2
	else:
		return 1
									


n=int(input())
print(solve_israil(n))

Submission status: Accepted

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

def main():
    print(10 - int(input()) // 200)
                    
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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:
score = int(input())
levelList = [600,800,1000,1200,1400,1600,1800]
level = 8

for i in range(7):
 if score < levelList[i]:
  break
 else :
  level = level - 1
print(level)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())

print(10-X//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:
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())

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

print(R)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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:
print(10 - int(input()) // 200)

Submission status: Accepted

Solution code:
X = int(input())

if X in range(400,600):
  print(8)
elif X in range(600,800):
  print(7)
elif X in range(800,1000):
  print(6)
elif X in range(1000,1200):
  print(5)
elif X in range(1200,1400):
  print(4)
elif X in range(1400,1600):
  print(3)
elif X in range(1600,1800):
  print(2)
else:
  print(1)

Submission status: Accepted

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

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



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

Submission status: Accepted

Solution code:
x = int(input())

Level = [i for i in range(400, 2000, 200)]

ans = 9
for level in Level:
    if x >= level:
        ans -= 1
print(ans)

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

ans = 8
rate = 600
while X >= rate:
    ans -= 1
    rate += 200
print(ans)

Submission status: Accepted

Solution code:
X=int(input())
count=8
for i in range(600,2001,200):
    if X<i:
        print(count)
        exit()
    count-=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:
X = int(input())
if 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:
rate = int(input())
rank=8-((rate-400)//200)
print((rank))

Submission status: Accepted

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


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

main()

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Kyu in AtCoder

late_table = [
    [400, 8],
    [600, 7],
    [800, 6],
    [1000, 5],
    [1200, 4],
    [1400, 3],
    [1600, 2],
    [1800, 1]
]


def kyu(late):
    for i in late_table:
        if late < i[0]:
            return i[1] + 1
    return 1


if __name__ == "__main__":
    late = int(input())
    print(kyu(late))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
import collections
from decimal import Decimal # 10進数で考慮できる

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000

d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))

# X = int(input())
# if 599 >= X:
#     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(str(ans))

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

Submission status: Accepted

Solution code:
def main():
  x = int(input())
  print(10-x//200)
  
if __name__ == "__main__":
  main()

Submission status: Accepted

Solution code:
import sys
import itertools
# import numpy as np
import time
import math
import heapq
from collections import defaultdict
sys.setrecursionlimit(10 ** 7)
 
INF = 10 ** 18
MOD = 10 ** 9 + 7
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

# map(int, input().split())

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())
for i in range(1,9):
    if 2000-i*200 <= x < 2200-i*200:
        print(i)

Submission status: Accepted

Solution code:
rate = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
import os
import itertools
import string
import heapq
import _collections
from collections import Counter
from collections import defaultdict
from collections import deque
from functools import lru_cache
import bisect
import re
import queue
import copy
import decimal


class Scanner():
    @staticmethod
    def int():
        return int(sys.stdin.readline().rstrip())

    @staticmethod
    def string():
        return sys.stdin.readline().rstrip()

    @staticmethod
    def map_int():
        return [int(x) for x in Scanner.string().split()]

    @staticmethod
    def string_list(n):
        return [Scanner.string() for i in range(n)]

    @staticmethod
    def int_list_list(n):
        return [Scanner.map_int() for i in range(n)]

    @staticmethod
    def int_cols_list(n):
        return [Scanner.int() for i in range(n)]


def solve():
    X = Scanner.int()
    X -= 400
    print(8 - X // 200)


def main():
    # sys.setrecursionlimit(1000000)
    # sys.stdin = open("sample.txt")
    solve()


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    X = input_ints()

    print(10 - (X // 200))


def input_ints():
    line_list = input().split()

    if len(line_list) == 1:
        return int(line_list[0])
    else:
        return map(int, line_list)


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


def input_int_tuple_list(n: int):
    return [tuple(map(int, input().split())) for _ in range(n)]


main()

Submission status: Accepted

Solution code:
X = int(input())

kyu = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]
for i in range(9):
    if X < kyu[i]:
        print(9 - i)
        exit()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

print(10 - x // 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)
elif 1800 <= x < 2000:
    print(1)

Submission status: Accepted

Solution code:
def find(X):
    rate = X//200
    return 10-rate

print(find(int(input())))

Submission status: Accepted

Solution code:
MI = lambda :(map(int,input().split()))
x = int(input())
if x>1799:
	print(1)
elif x>1599:
	print(2)
elif x>1399:
	print(3)
elif x>1199:
	print(4)
elif x>999:
	print(5)
elif x>799:
	print(6)
elif x>599:
	print(7)
else:
	print(8)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import bisect
X = int(input())
A = [599, 799, 999, 1199, 1399, 1599, 1799, 1999]
ans = bisect.bisect_left(A, X)
print(8 - ans)

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:
def main(x):
    for i in range(9):
        _min = 2000 - (200 * (i + 1))
        if _min <= x:
            print(i + 1)
            return


if __name__ == "__main__":
    x = int(input())

    main(x)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    x = int(input())
    if x <= 599:
        return 8
    elif x <= 799:
        return 7
    elif x <= 999:
        return 6
    elif x <= 1199:
        return 5
    elif x <= 1399:
        return 4
    elif x <= 1599:
        return 3
    elif x <= 1799:
        return 2
    return 1
print(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)
else:
  print(1)

Submission status: Accepted

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