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:
def II(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

X=II()
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:
num = int(input())
if 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)
else:
  print(1)

Submission status: Accepted

Solution code:
X=int(input())
initial=400
kyu=8
for add in range(1,9):
    if X<initial+add*200:
        print(int(kyu))
        break
    kyu-=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())

for i in range(8):
    a = 200*i
    if 400+a <=X<600+a:
        print(8-i)
        break

Submission status: Accepted

Solution code:
# coding: utf-8

######## 関数の定義 ########
def main():
	""" メインの処理 """	
	input_line = input().rstrip()
	num_rate = int(input_line)  ## 点数
	result = 8  ## 初期値の級数を定義
	if 600 <= num_rate < 800:
		result = 7
	elif 800 <= num_rate < 1000:
		result = 6
	elif 1000 <= num_rate < 1200:
		result = 5
	elif 1200 <= num_rate < 1400:
		result = 4
	elif 1400 <= num_rate < 1600:
		result = 3
	elif 1600 <= num_rate < 1800:
		result = 2
	elif 1800 <= num_rate < 2000:
		result = 1
	print(result)

######## 処理の実行 ########
if __name__ == "__main__":
	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:
i = int(input())
if 400 <= i < 600:
    print(8)
elif 600 <= i < 800:
    print(7)
elif 800 <= i < 1000:
    print(6)
elif 1000 <= i < 1200:
    print(5)
elif 1200 <= i < 1400:
    print(4)
elif 1400 <= i < 1600:
    print(3)
elif 1600 <= i < 1800:
    print(2)
elif 1800 <= i <= 1999:
    print(1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import numpy as np
input = sys.stdin.readline


def log(*args):
    print(*args, file=sys.stderr)


def main():
    np.set_printoptions(threshold=20)
    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
    elif X < 2000:
        ans = 1
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys

x = input()
y = int(x)


a = 400
b = 0
kyu = 8

while(1):
    
    if a + b <= y <= a + b + 199:
        print(str(kyu))
        break
    
    b = b + 200
    kyu = kyu - 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())
if 400<=n and n<=599:
 print(8)
if 600<=n and n<=799:
 print(7)
if 800<=n and n<=999:
 print(6)
if 1000<=n and n<=1199:
 print(5)
if 1200<=n and n<=1399:
 print(4)
if 1400<=n and n<=1599:
 print(3)
if 1600<=n and n<=1799:
 print(2)
if 1800<=n and n<=1999:
 print(1)

Submission status: Accepted

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

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

print(ans)

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((2199-x)//200)

Submission status: Accepted

Solution code:
X = int(input())
ans = [1,2,3,4,5,6,7,8]

for k in ans:
  if 10-X/200 <= k and 10.9995-X/200 >= k:
    print(k)
    break

Submission status: Accepted

Solution code:
n = int(input())
res = 8
num = n - 599
while num>=200:
    num -= 200
    res -=1
if num>0:
    res-=1
print(res)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# 整数の入力
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 >= 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(str(int(ans)))

Submission status: Accepted

Solution code:
x=int(input())
for i in range(2,10):
  if i*200<=x<(i+1)*200:
    print(10-i)
    exit()

Submission status: Accepted

Solution code:
point = int(input())

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
x = int(input())

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

print(g)

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
M = int(input())
if M <= 399:
    pass
elif 400 <= M and M <= 599:
    print("8")
elif M <= 799:
    print("7")
elif M <= 999:
    print("6")
elif M <= 1199:
    print("5")
elif M <= 1399:
    print("4")
elif M <= 1599:
    print("3")
elif M <= 1799:
    print("2")
elif 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')
elif X >= 1800 and X <= 1999:
    print('1')

Submission status: Accepted

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

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")
else:
  pass

Submission status: Accepted

Solution code:
s = input().split()
intX = int(s[0])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
rate = int(input())
dan = 0

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
ans = 0
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:
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:
# coding: utf-8
import sys
#from operator import itemgetter
sysread = sys.stdin.buffer.readline
read = sys.stdin.buffer.read
#from heapq import heappop, heappush
from collections import defaultdict
sys.setrecursionlimit(10**7)
import math
#from itertools import product, accumulate, combinations, product
#import bisect# lower_bound etc
#import numpy as np
#from copy import deepcopy
#from collections import deque




def run():
    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__":
    run()

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

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

Submission status: Accepted

Solution code:
from sys import *
x = int(stdin.readline())
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:
a=int(input())
if a>=400 and a<=599 :
  print("8")
elif a>=600 and a<=799 :
  print("7")
elif a>=800 and a<=999 :
  print("6")
elif a>=1000 and a<=1199 :
  print("5")
elif a>=1200 and a<=1399 :
  print("4")
elif a>=1400 and a<=1599 :
  print("3")
elif a>=1600 and a<=1799 :
  print("2")
elif a>=1800 and a<=1999 :
  print("1")

Submission status: Accepted

Solution code:
def read():
    X = int(input())
    return X,

def solve(X):
    if X < 600:
        return 8
    elif X < 800:
        return 7
    elif X < 1000:
        return 6
    elif X < 1200:
        return 5
    elif X < 1400:
        return 4
    elif X < 1600:
        return 3
    elif X < 1800:
        return 2
    else:
        return 1


if __name__ == '__main__':
    inputs = read()
    print("%s" % solve(*inputs))

Submission status: Accepted

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


main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

kyu = [600,800,1000,1200,1400,1600,1800,2000]
N = 8

for i in range(len(kyu)):
    if X < kyu[i]:
        print(N - 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())
ans = 8
if x <= 599:
    ans = 8
elif x <= 799:
    ans = 7
elif x <= 999:
    ans = 6
elif x <= 1199:
    ans = 5
elif x <= 1399:
    ans = 4
elif x <= 1599:
    ans = 3
elif x <= 1799:
    ans = 2
else:
    ans = 1
print(ans)

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

for index, i in enumerate(range(2, 10)):
    min = 200 * i
    max = min + 199
    if X >= min and X <= max:
        print(8 - index)
        break

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

Submission status: Accepted

Solution code:
score = int(input())

atcoder_class = 1

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

print(atcoder_class)

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

def main():
    X = int(read())
    list = [i*200 for i in range(9, 1, -1)]
    for i, l in enumerate(list):
        if X >= l:
            ans = i + 1
            break
    print(ans)
    return

if __name__ == '__main__':
    main()

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")
elif x in range(1800,2000):
    print("1")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

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
# elif x<2000: 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:
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())
if n <=599:
    x= 8
elif n <=799:
    x = 7
elif n <=999:
    x = 6
elif n <=1199:
    x = 5
elif n <=1399:
    x = 4
elif n <=1599:
    x = 3
elif n <=1799:
    x = 2
elif n <=1999:
    x = 1
print(x)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

t = 400
kyu = 8
while t < 2000:
    if x >= t and x < t + 200:
        print(kyu)
        break
    else:
        t += 200
        kyu -= 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())

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

  
  
print(kyu)

Submission status: Accepted

Solution code:
N = int(input())
if 1800 <= N <= 1999:
    print('1')
elif 1600 <= N <= 1799:
    print('2')
elif 1400 <= N <= 1599:
    print('3')
elif 1200 <= N <= 1399:
    print('4')
elif 1000 <= N <= 1199:
    print('5')
elif 800 <= N <= 999:
    print('6')
elif 600 <= N <= 799:
    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:
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:
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)
else:
  print(1)

Submission status: Accepted

Solution code:
def main():
    X = int(input())
    X += 1

    ans = 11
    while X > 0:
        X -= 200
        ans -= 1

    print(ans)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys

n = int(input())

a = [599, 799, 999, 1199, 1399, 1599, 1799, 1999]

ss = 8

for i in a:
  if n - i <= 0:
    print(ss)
    sys.exit()
  ss -= 1

Submission status: Accepted

Solution code:
# m-solutions2020_a.py
# https://atcoder.jp/contests/m-solutions2020 : A

global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    # FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    X = int(lines[0])

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

    return [ret]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = [725]
        lines_export = [7]
    if pattern == 2:
        lines_input = [1600]
        lines_export = [2]
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    # import time
    # started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    if mode > 0:
        print(f'lines_input=[{lines_input}]')
        print(f'lines_export=[{lines_export}]')
        print(f'lines_result=[{lines_result}]')
        if lines_result == lines_export:
            print('OK')
        else:
            print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())
#print(x)

kyu = 0

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

print(kyu)

Submission status: Accepted

Solution code:
kyu = [400,600,800,1000,1200,1400,1600,1800,2000]

x = int(input())

for i, v in enumerate(kyu):
    if x < v:
        print(9-i)
        break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(X):
    ans = 1
    if X <= 1999:
        ans = 1
    if X <= 1799:
        ans = 2
    if X <= 1599:
        ans = 3
    if X <= 1399:
        ans = 4
    if X <= 1199:
        ans = 5
    if X <= 999:
        ans = 6
    if X <= 799:
        ans = 7
    if X <= 599:
        ans = 8
    print(ans)


if __name__ == '__main__':
    # S = input()
    X = int(input())
    # N, M = map(int, input().split())
    # As = [int(i) for i in input().split()]
    # Bs = [int(i) for i in input().split()]
    solve(X)

Submission status: Accepted

Solution code:
x = int(input())
for i in range(400,2000,200):
  if i<=x<=i+199:
    print(int(10-(i/200)))