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

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())
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:
my_rate = input()
rate_kyu = [2000, 1800, 1600, 1400, 1200, 1000, 800, 600, 400]

for i,rate in enumerate(rate_kyu):
  if i == 0:
    continue
  if int(rate_kyu[i]) <= int(my_rate) < int(rate_kyu[i-1]):
    print(i)

Submission status: Accepted

Solution code:
from sys import stdin
x=int(stdin.readline())
if x<=599:
  print('8')
elif x>=600 and x<=799:
  print('7')
elif x>=800 and x<=999:
  print('6')
elif x>=1000 and x<=1199:
  print('5')
elif x>=1200 and x<=1399:
  print('4')
elif x>=1400 and x<=1599:
  print('3')
elif x>=1600 and x<=1799:
  print('2')
else:
  print('1')

Submission status: Accepted

Solution code:
X = int(input())

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

print(kyu)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
tensu = int(input())

if 400 <= tensu <= 599:
    print("8")

elif 600 <= tensu <= 799:
    print("7")
    
elif 800 <= tensu <= 999:
    print("6")
    
elif 1000 <= tensu <= 1199:
    print("5")
    
elif 1200 <= tensu <= 1399:
    print("4")
    
elif 1400 <= tensu <= 1599:
    print("3")
    
elif 1600 <= tensu <= 1799:
    print("2")
    
elif 1800 <= tensu <= 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())
ran = list(range(400,2200,200))
pointer = 0
while x >= ran[pointer]:
    pointer += 1
print(9-pointer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

if ( 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 <= 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())
x -= 400
a = 200
for i in range(1, 9):
    if (0 <= x) & (x < i*a):
        print(9 - i)
        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:
a = int(input())
arr = list(range(400,2001,200))
arr2 = [8,7,6,5,4,3,2,1]
res = 8
for i in range(1,len(arr)):
  if (a >= arr[i]):
    res = arr2[i]
  else:
    print(res)
    break

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
X = 1999 - X
print(X//200 + 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")
elif 1800<=n<=1999:
    print("1")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
if 400 <= x < 600:
  print(8)
elif 600 <= x < 800:
  print(7)
elif 800 <= x < 1000:
  print(6)
elif 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 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:
iv = int(input())

rank = 8
r_max = 599
r_min = 400
interval = 200
while r_max <= 1999:
  if r_min <= iv <= r_max:
    print(rank)
    exit()
  else:
    r_min += interval
    r_max += interval
    rank -= 1

Submission status: Accepted

Solution code:
X = int(input())
i = 1
N = 1800
while N >=400:
  if X >= N:
    print(i)
    break
  N = N-200
  i = i+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())
for i in range(8):
    if n>=400+200*i and 599+200*i>=n:
        print(8-i)

Submission status: Accepted

Solution code:
x = int(input())

if 599 >=x:
    print('8')
elif 799>=x:
    print('7')
elif 999 >=x:
    print('6')
elif 1199 >=x:
    print('5')
elif 1399 >=x:
    print('4')
elif 1599 >=x:
    print('3')
elif 1799 >=x:
    print('2')
elif 1999 >=x:
    print('1')

Submission status: Accepted

Solution code:
from sys import exit
import math
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

x = ii()

ans=8
cnt=0
for i in range(4,20,2):
    if(i*100 <= x and x <= (i+2)*100-1):
        print(ans-cnt)
    cnt+=1

Submission status: Accepted

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

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

X = int(input())
print(kyu(X))

Submission status: Accepted

Solution code:
a = int(input())
r = 1
for i in range(1799,598,-200):
    if a <= i:
        r += 1
print(r)

Submission status: Accepted

Solution code:
x = int(input())
kyu = 8
if (x >= 600):
    kyu -= 1
if (x >= 800):
    kyu -= 1
if (x >= 1000):
    kyu -=1
if (x >= 1200):
    kyu -= 1
if (x >= 1400):
    kyu -=1
if (x >= 1600):
    kyu -=1
if (x >= 1800):
    kyu -=1
print(kyu)

Submission status: Accepted

Solution code:
from sys import exit

X = int(input())

if X <= 599:
    print(8)
    exit()

if X <= 799:
    print(7)
    exit()

if X <= 999:
    print(6)
    exit()

if X <= 1199:
    print(5)
    exit()

if X <= 1399:
    print(4)
    exit()

if X <= 1599:
    print(3)
    exit()

if X <= 1799:
    print(2)
    exit()

print(1)

Submission status: Accepted

Solution code:
x = int(input())

def k(x):
	if x >= 1800: return 1
	if x >= 1600: return 2
	if x >= 1400: return 3
	if x >= 1200: return 4
	if x >= 1000: return 5
	if x >= 800: return 6
	if x >= 600: return 7
	if x >= 400: return 8

print(k(x))

Submission status: Accepted

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

ranking_class_q = X // 200

if ranking_class_q == 9:
    output = 1
elif ranking_class_q == 8:
    output = 2
elif ranking_class_q == 7:
    output = 3
elif ranking_class_q == 6:
    output = 4
elif ranking_class_q == 5:
    output = 5
elif ranking_class_q == 4:
    output = 6
elif ranking_class_q == 3:
    output = 7
elif ranking_class_q == 2:
    output = 8
    
print(output)

Submission status: Accepted

Solution code:
from bisect import bisect


def grade(score, breakpoints=[400, 600, 800, 1000, 1200, 1400, 1600, 1800], grades='887654321'):
    i = bisect(breakpoints, score)
    return grades[i]

x = int(input())
print(grade(x))

Submission status: Accepted

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

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:
  print(8)
elif x <= 799:
  print(7)
elif x <= 999:
  print(6)
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:
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import sys
#####################################
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 = 0
if X >= 1800:
  ans = 1
elif X >= 1600:
  ans = 2
elif X >= 1400:
  ans = 3
elif X >= 1200:
  ans = 4
elif X >= 1000:
  ans = 5
elif X >= 800:
  ans = 6
elif X >= 600:
  ans = 7
else:
  ans = 8

print(ans)

Submission status: Accepted

Solution code:
x=int(input())

minimum=400
maximum=599
kyu=8
while not(minimum<= x <=maximum):
    minimum+=200
    maximum+=200
    kyu-=1

print(kyu)

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
sys.setrecursionlimit(10 ** 9)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')
# from math import ceil, floor, log2
# from collections import deque
# from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product, permutations
# from heapq import heapify, heappop, heappush
# import numpy as np    # cumsum
# from bisect import bisect_left, bisect_right

def solve():
    X = II()

    n = 400
    for i in range(8, 0, -1):
        for j in range(200):
            # print(n)
            if X == n:
                print(i)
                return
            n += 1

if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
def main():
    X = int(input())
    N = 1800
    for i in range(8):
        if X >= N:
            print(i+1)
            exit()
        else:
            N -= 200
if __name__  == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())

x -= 400
ans = x // 200
print(8-ans)

Submission status: Accepted

Solution code:
N = int(input(""))

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

Solution code:
X = int(input())


ans = 8

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

Submission status: Accepted

Solution code:
import bisect,collections,copy,heapq,itertools,math,string
import numpy as np
import sys
sys.setrecursionlimit(10**7)

def _S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())

N = I()

a = 8
for i in range(8):
    if N < (i + 3) * 200:
        a = 8 - i
        break
print(a)

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


#H,N = LI()
#AB = [LI() for _ in range(N)]
#A,B = zip(*AB)
#Ap = np.array(A)
#C = np.zeros(N + 1)

# if ans:
#     print('Yes')
# else:
#     print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=[599,799,999,1199,1399,1599,1799,1999]
x=int(input())
for i,val in enumerate(a):
    if x<=val:
        print(8-i)
        break

Submission status: Accepted

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

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:
w = 199

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

Submission status: Accepted

Solution code:
X = int(input())
for i in range(16):
  if 100*(2*i+4) <= X < 100*(2*i+6):
    print(8-i)
    break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
points = [400, 600]

for i in range(8, 0, -1):
    if points[0] <= X < points[1]:
        print(i)
    points[0] += 200
    points[1] += 200

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

l = -(-(2000 - x)//200)


      
print(l)

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())
A = [400, 600, 800, 1000, 1200, 1400, 1600, 1800]
B = [8, 7, 6, 5, 4, 3, 2, 1]
if X < A[1]:
    print(B[0])
elif X < A[2]:
    print(B[1])
elif X < A[3]:
    print(B[2])
elif X < A[4]:
    print(B[3])
elif X < A[5]:
    print(B[4])
elif X < A[6]:
    print(B[5])
elif X < A[7]:
    print(B[6])
else:
    print(B[7])

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

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

Submission status: Accepted

Solution code:
X  = int(input())

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

Submission status: Accepted

Solution code:
def main():
    num = int(input())
    if num > 1799:
        print(1)
    elif num > 1599:
        print(2)
    elif num > 1399:
        print(3)
    elif num > 1199:
        print(4)
    elif num > 999:
        print(5)
    elif num > 799:
        print(6)
    elif num > 599:
        print(7)
    elif num > 399:
        print(8)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())
if x >= 400 and x<600:
    print("8")
elif x >= 600 and x<800:
    print("7")
elif x >= 800 and x<1000:
    print("6")
elif x >= 1000 and x<1200:
    print("5")
elif x >= 1200 and x<1400:
    print("4")
elif x >= 1400 and x<1600:
    print("3")
elif x >= 1600 and x<1800:
    print("2")
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:
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())
ans = 8
while x - 200 >= 400:
    ans -= 1
    x -= 200

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

Submission status: Accepted

Solution code:
X = int(input())

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

print(rate)

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
import os
import heapq
import sys
import math
import bisect
import operator
from collections import defaultdict
from io import BytesIO, IOBase
def gcd(a,b):
    if b==0:

        return a
    else:
        return gcd(b,a%b)
def power(x, p,m):
    res = 1
    while p:
        if p & 1:
            res = (res * x) % m
        x = (x * x) % m
        p >>= 1
    return res
def inar():
    return [int(k) for k in input().split()]


# def bubbleSort(arr,b):
#     n = len(arr)
#     for i in range(n):
#         for j in range(0, n - i - 1):
#             if arr[j] > arr[j + 1] and b[j]!=b[j+1]:
#                 arr[j], arr[j + 1] = arr[j + 1], arr[j]
#                 b[j],b[j+1]=b[j+1],b[j]
def lcm(num1,num2):
    return (num1*num2)//gcd(num1,num2)

def main():
    #for _ in range(int(input())):
    n=int(input())
    # n,k=map(int,input().split())
    # arr=inar()
    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')












BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)
input = lambda: sys.stdin.readline().rstrip("\r\n")

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x = int(input())

import bisect

ar = [0 for _ in range(8)]

for i in range(8):
    ar[i] = 400+200*i


num = bisect.bisect_right(ar,x)

#print(ar)
print(9-num)