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

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

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

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:
import math
x = float(input())

print(int(math.ceil((20.0-x/100.0)/2.0)))

Submission status: Accepted

Solution code:
x=int(input())
dic={2:'8',3:'7',4:'6',5:'5',6:'4',7:'3',8:'2',9:'1'}
print(dic[x//200])

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

a = 1999/X

if a >= 1999/599:
  print(8)
elif a >= 1999/799:
  print(7)
elif a >= 1999/999:
  print(6)
elif a >= 1999/1199:
  print(5)
elif a >= 1999/1399:
  print(4)
elif a >= 1999/1599:
  print(3)
elif a >= 1999/1799:
  print(2)
elif a >= 1999/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')
else:
    pass

Submission status: Accepted

Solution code:
x = int(input())

for i in range(8):
  if x >= 1800 - 200*i:
    print(i+1)
    break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    mtx = [
400,
599,
8,
600,
799,
7,
800,
999,
6,
1000,
1199,
5,
1200,
1399,
4,
1400,
1599,
3,
1600,
1799,
2,
1800,
1999,
1
    ];
    X = int(input())
    for i in range(0, len(mtx), 3):
        lo = mtx[i]
        hi = mtx[i+1]
        ans = mtx[
i+2
        ]
        if lo <= X <= hi:
            print(ans)
 
 
if __name__ == '__main__':
    import sys
    sys.setrecursionlimit(10000)
    main()

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

Submission status: Accepted

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

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:
import sys
from math import sqrt, gcd, ceil, log
from bisect import bisect, bisect_left
from collections import defaultdict, Counter, deque
from heapq import heapify, heappush, heappop
inp = sys.stdin.readline
read = lambda: list(map(int, inp().strip().split()))

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






if __name__ == "__main__":
	main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
for i in range(9):
  if 400+200*i <= x and x <= 599+200*i:
      print(8-i)
  else:
    pass

Submission status: Accepted

Solution code:

import numpy as np
from functools import *
import sys
sys.setrecursionlimit(100000)
input = sys.stdin.readline


X = int(input())

tmp = 600+200*np.arange(9)


for i, s in enumerate(tmp):
    if X < tmp[i]:
        print(8-i)
        break

Submission status: Accepted

Solution code:
x = int(input())
ans = 8
max = 599
min = 400
while True:
  if min <= x <= max:
    print(ans)
    break
  else:
    max += 200
    min += 200
    ans -= 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
if x>=400:
  x=x-x%200
  a=x/200
  
a=int(a)
print(10-a)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush
import itertools
import random
from collections import deque
from decimal import *
import queue

input = sys.stdin.readline

def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
def inputStr(): return input()[:-1]

inf = float('inf')
mod = 1000000007

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

def main():
	N = inputInt()

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

	#print(N)

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
X = int(input())

ans = 10 - X//200
print(ans)

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

Submission status: Accepted

Solution code:
Kyu = int(input())

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

Submission status: Accepted

Solution code:
X_str = input()
X  = int(X_str)

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

j = 400
for i in range(8):
    if X >= j and X <= (j+199):
        print(8-i)
    j = j + 200

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
score = [1800,1600,1400,1200,1000, 800, 600, 400]
ranks = [   1,   2,   3,   4,   5,   6,   7,   8]

x = int(input())
i = 0

while(x < score[i]):
      i += 1

print(ranks[i])

Submission status: Accepted

Solution code:
x=input()

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

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

Submission status: Accepted

Solution code:
x = int(input())

if x >= 1800:
    print(1)
elif x >= 1600:
    print(2)
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:
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)
    elif x>=400:
        print(8)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def main():
    import sys

    def input(): return sys.stdin.readline().rstrip()

    x = int(input())
    print(8-(x-400)//200)
    
    
if __name__ == '__main__':
    main()

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

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

#sys.setrecursionlimit(10**9)
#from functools import lru_cache

def RD(): return sys.stdin.read()
def II(): return int(input())
def MI(): return map(int,input().split())
def MF(): return map(float,input().split())
def LI(): return list(map(int,input().split()))
def LF(): return list(map(float,input().split()))
def TI(): return tuple(map(int,input().split()))
# rstrip().decode()

def main():
	x=II()

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

if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
s = int(input())

if s <= 599:
  print("8")
elif s <= 799:
  print("7")
elif s <= 999:
  print("6")
elif s <= 1199:
  print("5")
elif s <= 1399:
  print("4")
elif s <= 1599:
  print("3")
elif s <= 1799:
  print("2")
else:
  print("1")

Submission status: Accepted

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


##########
if __name__ == "__main__":
    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:
# 方針
"""
- 標準入力はどこから???
  - コマンとライン引数かな?
    - https://qiita.com/orange_u/items/3f0fb6044fd5ee2c3a37
  - input関数のことらしい
    - https://qiita.com/yasu_teco/items/e8db933ac4f647166996

- python 関数作り方
  - https://bi.biopapyrus.jp/python/syntax/def.html
"""

rating = int(input()) 
# print(rating) #出力：s

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

    else:
        print("エラー(400<=ratin<=1999) の範囲外")

Rank(rating)

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:
t = int(input())
if 400 <= t <= 599:
    print("8")
elif 600 <= t <= 799:
    print("7")
elif 800 <= t <= 999:
    print("6")
elif 1000 <= t <= 1199:
    print("5")
elif 1200 <= t <= 1399:
    print("4")
elif 1400 <= t <= 1599:
    print("3")
elif 1600 <= t <= 1799:
    print("2")
elif 1800 <= t <= 1999:
    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)
elif x in range(1800,2000):
    print(1)

Submission status: Accepted

Solution code:
X = int(input())
X //= 200
if X < 2:
    print(8)
else:
    print(10-X)

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

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 >= 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())
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:
num = int(input())
if 400 <= num < 2000:
  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:
# 2020/07/25
# M-SOLUTIONS プロコンオープン 2020 - A

# Input
x = int(input())

# Calc
ans = (2199 - x) // 200

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

Submission status: Accepted

Solution code:
input=input()
X=int(input)
ans=0
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:
#A - Kyu in AtCoder
X =int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip("\r\n")

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

Submission status: Accepted

Solution code:
rate=int(input())
a=400
if rate>=a and rate<=a+199:
  print(8)

elif rate>=a+200 and a+399>=rate:
  print(7)
elif rate>=a+400 and a+599>=rate:
  print(6)
  
elif rate>=a+600 and a+799>=rate:
  print(5)
  
elif rate>=a+800 and a+999>=rate:
  print(4)
  
elif rate>=a+1000 and a+1199>=rate:
  print(3)
  
elif rate>=a+1200 and a+1399>=rate:
  print(2)
  
  
else:
  print(1)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
ra = range
enu = enumerate


def exit(*argv, **kwarg):
    print(*argv, **kwarg)
    sys.exit()


def mina(*argv, sub=1): return list(map(lambda x: x - sub, argv))
# 受け渡されたすべての要素からsubだけ引く.リストを*をつけて展開しておくこと


def a_int(): return int(read())


def ints(): return list(map(int, read().split()))


def read_col(H):
    '''H is number of rows
    A列、B列が与えられるようなとき
    ex1)A,B=read_col(H)    ex2) A,=read_col(H) #一列の場合'''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return tuple(map(list, zip(*ret)))


def read_tuple(H):
    '''H is number of rows'''
    ret = []
    for _ in range(H):
        ret.append(tuple(map(int, read().split())))
    return ret


def read_matrix(H):
    '''H is number of rows'''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return ret
    # return [list(map(int, read().split())) for _ in range(H)] # 内包表記はpypyでは遅いため


MOD = 10**9 + 7
INF = 2**31  # 2147483648 > 10**9
# default import
from collections import defaultdict, Counter, deque
from operator import itemgetter, xor, add
from itertools import product, permutations, combinations
from bisect import bisect_left, bisect_right  # , insort_left, insort_right
from functools import reduce

X = a_int()
i = X // 200
print(2000 // 200 - i)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
x = int(input())
print(8-(x-400)//200)

Submission status: Accepted

Solution code:
X = int(input())

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





# 2darray [[0] * 4 for i in range(3)]

Submission status: Accepted

Solution code:
import numpy as np

a = int(input())

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

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

Submission status: Accepted

Solution code:
from sys import stdin


def readline_from_stdin() -> str:
    return stdin.readline().rstrip


if __name__ == '__main__':
    D = {9: 1, 8: 2, 7: 3, 6: 4, 5: 5, 4: 6, 3: 7, 2: 8}
    X = int(input())
    print(D[X//200])

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

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

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

Submission status: Accepted

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

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

print(Y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def kyu_atcoder():
    x = int(input())
    if x in range(400, 599+1):
        print("8")
    elif x in range(600, 799+1):
        print("7")
    elif x in range(800, 999+1):
        print("6")
    elif x in range(1000, 1199+1):
        print("5")
    elif x in range(1200, 1399+1):
        print("4")
    elif x in range(1400, 1599+1):
        print("3")
    elif x in range(1600, 1799+1):
        print("2")
    elif x in range(1800, 1999+1):
        print("1")
    else:
        pass

kyu_atcoder()

Submission status: Accepted

Solution code:
x = int(input())
numclass= int()

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

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)