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

Submission status: Accepted

Solution code:
def resolve():
  X = int(input())

  rank = 0
  if X<=599:
    print(8)
    return True

  if X<=799:
    print(7)
    return True  

  if X<=999:
    print(6)
    return True  

  if X<=1199:
    print(5)
    return True  

  if X<=1399:
    print(4)
    return True  

  if X<=1599:
    print(3)
    return True  

  if X<=1799:
    print(2)
    return True  

  if X<=1999:
    print(1)
    return True  

if __name__ == "__main__":
  resolve()

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:
import sys
n = int(sys.stdin.readline().rstrip("\n"))
k = n // 200
print(10-k)

Submission status: Accepted

Solution code:
def main():
    X = int(input())
    lst = [i * 200 + 400 for i in range(8)]
    lst.reverse()
    for i, l in enumerate(lst):
        if X >= l:
            print(i+1)
            break

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())
if 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:
def main():
    X = int(input())
    for i in range(1,9):
        I = 2000-200*i
        if I<=X<=I+199:
            print(i)
    
if __name__ == '__main__':
    main()

Submission status: Accepted

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


# 入力を整数に変換して受け取る
def input_int():
    return int(input())


# マイナス1した値を返却
def int1(x):
    return int(x) - 1


# 半角スペース区切り入力をIntに変換してMapで受け取る
def input_to_int_map():
    return map(int, input().split())


# 半角スペース区切り入力をIntに変換して受け取る
def input_to_int_tuple():
    return tuple(map(int, input().split()))


# 半角スペース区切り入力をIntに変換してマイナス1した値を受け取る
def input_to_int_tuple_minus1():
    return tuple(map(int1, input().split()))

def main():
    define = {
        "8": (400, 599),
        "7": (600, 799),
        "6": (800, 999),
        "5": (1000, 1199),
        "4": (1200, 1399),
        "3": (1400, 1599),
        "2": (1600, 1799),
        "1": (1800, 1999),
    }

    x = input_int()

    for k, v in define.items():
        if v[0] <= x <= v[1]:
            return k


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

Submission status: Accepted

Solution code:
int = int(input()) #iを取得し、intに値を入れる

if 400<=int and int<=599:
  print("8")

elif 600<=int and int<=799:
  print("7")

elif 800<=int and int<=999:
  print("6")


elif 1000<=int and int<=1199:
  print("5")


elif 1200<=int and int<=1399:
  print("4")


elif 1400<=int and int<=1599:
  print("3")


elif 1600<=int and int<=1799:
  print("2")

else:
  print("1")

Submission status: Accepted

Solution code:
x = int(input())
res = 8
for i in range(600, 1801, 200):
    if x >= i:
        res -= 1
    else:
        break
print(res)

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 400 <= X and X <= 599:
  print(8)
elif X <= 799:
  print(7)
elif X <= 999:
  print(6)
elif X <= 1199:
  print(5)
elif X <= 1399:
  print(4)
elif X <= 1599:
  print(3)
elif X <= 1799:
  print(2)
elif X <= 1999:
  print(1)

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def read():
    return int(input())

RANKS = [(599, 8),
         (799, 7),
         (999, 6),
         (1199, 5),
         (1399, 4),
         (1599, 3),
         (1799, 2),
         (1999, 1)]

def ans(X):
    for th, r in RANKS:
        if X <= th:
            return r

if __name__ == '__main__':
    X = read()
    print(ans(X))

Submission status: Accepted

Solution code:
X = int(input())
rate_sec = [i*200+600 for i in range(8)]

for key, value in enumerate(rate_sec):
    if X < value:
        print(8-key)
        break

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
rl = sys.stdin.buffer.readline

X = int(rl())

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

Submission status: Accepted

Solution code:
import math
X = int(input())
print(str(10-math.floor(X/200)))

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())
import math
a=math.floor((X//100)/2)
b=10-a
print(b)

Submission status: Accepted

Solution code:
def kyu(rating: int):
    if X <= 599:
        return 8
    if X <= 799:
        return 7
    if X <= 999:
        return 6
    if X <= 1199:
        return 5
    if X <= 1399:
        return 4
    if X <= 1599:
        return 3
    if X <= 1799:
        return 2
    if X <= 1999:
        return 1


X = int(input())

print(kyu(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')
else:
    exit(0)

Submission status: Accepted

Solution code:
x = int(input())

print((1999-x)//200 + 1)

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())

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

Submission status: Accepted

Solution code:
X = int(input())
K =[400,600,800,1000,1200,1400,1600,1800,9999]
for k in range(8):
    if K[k]<=X and K[k+1]>X:
        print(8-k)
        break

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

Submission status: Accepted

Solution code:
X = int(input())

a = float((X // 200) * 200)

print(int(-1/200*(a - 400) + 8))

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 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())
k=0
for i in range(6,20,2):
    if X<i*100:
        break
    else:
        k+=1
        continue
print(8-k)

Submission status: Accepted

Solution code:
import math
import sys


n = int(input())

if n >= 400 and n < 600:
    print(8)

elif n >= 600 and n < 800:
    print(7)

elif n >= 800 and n < 1000:
    print(6)

elif n >= 1000 and n < 1200:
    print(5)

elif n >= 1200 and n < 1400:
    print(4)

elif n >= 1400 and n < 1600:
    print(3)

elif n >= 1600 and n < 1800:
    print(2)

else:
    print(1)

Submission status: Accepted

Solution code:
X = int(input())
G = 0
print((1999 - X)//200 + 1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())
for i in range(1,9):
    a=400+(8-i)*200
    if a<=X<=a+199:
        print(i)
        break

Submission status: Accepted

Solution code:
def main():
    x = int(input())
    if 400 <= 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)     
         
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())
count = 0
while x >= 400:
    count += 1
    x -= 200
print(8-count+1)

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:
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 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 and x >= 400:
    print(8)
elif x <= 799 and x >= 600:
    print(7)
elif x <= 999 and x >= 700:
    print(6)
elif x <= 1199 and x >= 1000:
    print(5)
elif x <= 1399 and x >= 1200:
    print(4)
elif x <= 1599 and x >= 1400:
    print(3)
elif x <= 1799 and x >= 1600:
    print(2)
elif x <= 1999 and x >= 1800:
    print(1)

Submission status: Accepted

Solution code:
X = int(input())

a, b = 400, 599
s = 8

while True:
    if a <= X <= b:
        print(s)
        break
    a += 200
    b += 200
    s -= 1

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:

def solve(n):
    if n in range(400, 600):
        print(8)
        return
    if n in range(600, 800):
        print(7)
        return
    if n in range(800, 1000):
        print(6)
        return
    if n in range(1000, 1200):
        print(5)
        return
    if n in range(1200, 1400):
        print(4)
        return
    if n in range(1400, 1600):
        print(3)
        return
    if n in range(1600, 1800):
        print(2)
        return
    if n in range(1800, 2000):
        print(1)
        return



def main():
    t = int(input())
    solve(t)


main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X  = int(input())

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

print(A)

Submission status: Accepted

Solution code:
x = int(input())

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")
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 x <= 799:
    print(7)
elif x <= 999:
    print(6)
elif x <= 1199:
    print(5)
elif x<= 1399:
    print(4)
elif x <= 1599:
    print(3)
elif x <= 1799:
    print(2)
else:
    print(1)

Submission status: Accepted

Solution code:
X = int(input())
if 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")
else:
    print("2")

Submission status: Accepted

Solution code:
x = int(input())

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

print(a)

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:
import sys
import numpy as np

X = int(input())


if 399 < X and 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())

k = 8
for i in range(400, 1801, 200):
    if i <= X <= i+199:
        print(k)
    k -= 1

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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


if __name__=="__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
lank8 = list(range(400, 600))
lank7 = list(range(400, 800))
lank6 = list(range(400, 1000))
lank5 = list(range(400, 1200))
lank4 = list(range(400, 1400))
lank3 = list(range(400, 1600))
lank2 = list(range(400, 1800))
lank1 = list(range(400, 2000))
if x in lank8:
    print(8)
elif x in lank7:
    print(7)
elif x in lank6:
    print(6)
elif x in lank5:
    print(5)
elif x in lank4:
    print(4)
elif x in lank3:
    print(3)
elif x in lank2:
    print(2)
elif x in lank1:
    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())

print( -(x//200) + 10 )

Submission status: Accepted

Solution code:
from sys import stdin

def main():
    h = int(input())
    kyu = 8
    if 600 <= h and h < 800:
        kyu = 7
    if 800 <= h and h < 1000:
        kyu = 6
    if 1000 <= h and h < 1200:
        kyu = 5
    if 1200 <= h and h < 1400:
        kyu = 4
    if 1400 <= h and h < 1600:
        kyu = 3
    if 1600 <= h and h < 1800:
        kyu = 2
    if 1800 <= h and h < 2000:
        kyu = 1
    print(kyu)
    
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#a

x = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

if x >= 400 and x <= 599:
    print(int(8))
if x >= 600 and x <= 799:
    print(int(7))
if x >= 800 and x <= 999:
    print(int(6))
if x >= 1000 and x <= 1199:
    print(int(5))
if x >= 1200 and x <= 1399:
    print(int(4))
if x >= 1400 and x <= 1599:
    print(int(3))
if x >= 1600 and x <= 1799:
    print(int(2))
if x >= 1800 and x <= 1999:
    print(int(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:
#############<------------  Xorcestor_X ---------------->############

from math import *


def is_even(p):
    n=len(p)
    count=0
    for i in range(n):
        index=p.index(i,i,n)
        if i==index:
            pass
        else:
            count+=1
            temp=p[i]
            p[i]=p[index]
            p[index]=temp
    # print(p)
    if count%2==0:
        return True
    else:
        return False



prime=[]

def SieveOfEratosthenes():
    global prime
    prime=[1]*2000010
    prime[1]=0
    p=2
    while p*p<=2000001:
        if prime[p]:
            for i in range(p*p,2000002,p):
                prime[i]=0

lpf=[]

def precompute():
    global lpf
    lpf=[0]*1000001
    for i in range(2,1000001):
        if not lpf[i]:
            for j in range(i,1000001,i):
                if not lpf[j]:
                    lpf[j]=i


def binpow(a,b):
    res=1
    while b>0:
        if b&1:
            res*=a
        a*=a
        b>>=1
    return res


def modpow(a,b,x):
    res=1
    while b>0:
        if b&1:
            res*=a
            res%=x
        a*=a
        a%=x
        b>>=1
    return res

cont=[]

def f(x):
    global cont
    total=0
    for i in cont:
        total+=abs(i-x)
    return total


def bs(low,high,target):
    while low+3<high:
        mid=(low+high)/2
        if arr[mid]<target:
            low=mid
        else:
            high=mid-1
    for i in range(high,low-1,-1):
        if arr[o]<target:
            return i
    return -1


def ternary_search(l,r):
    while r-l>10:
        m1=l+(r-l)/3
        m2=r-(r-l)/3
        f1=f(m1)
        f2=f(m2)
        if f1>f2:
            l=m1
        else:
            r=m2

    mino=f(l)

    for i in range(l,r+1):
        mino=min(mino,f(i))

    return mino

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

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

print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

output = ((1999 - X) // 200) + 1

print(output)

Submission status: Accepted

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

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:
def main():
    X = int(input())
    if X >= 1800:
        print(1)
        exit()
    l = [6,8,10,12,14,16,18]

    for i, v in enumerate(l):
        if X < v *100:
            print(8-i)
            exit()
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)