Problem:


Score: 100 points

Problem Statement

M-kun is a competitor in AtCoder, whose highest rating is X.

In this site, a competitor is given a kyu (class) according to his/her highest rating. For ratings from 400 through 1999, the following kyus are given:

From 400 through 599: 8-kyu

From 600 through 799: 7-kyu

From 800 through 999: 6-kyu

From 1000 through 1199: 5-kyu

From 1200 through 1399: 4-kyu

From 1400 through 1599: 3-kyu

From 1600 through 1799: 2-kyu

From 1800 through 1999: 1-kyu

What kyu does M-kun have?

Constraints

400 \leq X \leq 1999

X is an integer.

Input

Input is given from Standard Input in the following format:

X

Output

Print the kyu M-kun has, as an integer.
For example, if he has 8-kyu, print 8.

Sample Input 1

725

Sample Output 1

7

M-kun's highest rating is 725, which corresponds to 7-kyu.

Thus, 7 is the correct output.

Sample Input 2

1600

Sample Output 2

2

M-kun's highest rating is 1600, which corresponds to 2-kyu.

Thus, 2 is the correct output.



Sample input:
725


Sample output:
7

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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 = x // 200
print(10-y)

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

print(res)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
X = int(readline())
a = 2000
for i in range(1,9):
    if (a-200)<=X<a:
        print(i)
        sys.exit()
    a -= 200

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from functools import reduce
from bisect import bisect_left, insort_left
from heapq import heapify, heappush, heappop

INPUT = lambda: sys.stdin.readline().rstrip()
INT = lambda: int(INPUT())
MAP = lambda: map(int, INPUT().split())
S_MAP = lambda: map(str, INPUT().split())
LIST = lambda: list(map(int, INPUT().split()))
S_LIST = lambda: list(map(str, INPUT().split()))
ZIP = lambda: zip(*(MAP() for _ in range(n)))

sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7


def main():
    X = INT()

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#A
N=int(input())
if N<600 and N>=400:
    print(8)
elif N<800 and N>=600:
    print(7)
elif N<1000 and N>=800:
    print(6)
elif N<1200 and N>=1000:
    print(5)
elif N<1400 and N>=1200:
    print(4)
elif N<1600 and N>=1400:
    print(3)
elif N<1800 and N>=1600:
    print(2)
elif N<2000 and 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:
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)
elif n < 2000:print(1)

Submission status: Accepted

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


if __name__ == '__main__':
    X = int(input())
    print(function(X))

Submission status: Accepted

Solution code:
x = int(input())
num = [8, 7, 6, 5, 4, 3, 2, 1]
for i in range(0, 8):
    if x >= 400 + 200 * i and x < 600 + 200 * i:
        print(num[i])

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

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=1800
b=1999
for i in range(8):
  if a<=x<=b:
    break
  else:
    a-=200
    b-=200
print(1+i)

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

Solution code:
import sys
## io ##
def IS(): return sys.stdin.readline().rstrip()
def II(): return int(IS())
def MII(): return list(map(int, IS().split()))
def MIIZ(): return list(map(lambda x: x-1, MII()))
#======================================================#
def calc_rating(n):
    if 400 <= n <= 599:
        return 8
    elif 600 <= n <= 799:
        return 7
    elif 800 <= n <= 999:
        return 6
    elif 1000 <= n <= 1199:
        return 5
    elif 1200 <= n <= 1399:
        return 4
    elif 1400 <= n <= 1599:
        return 3
    elif 1600 <= n <= 1799:
        return 2
    elif 1800 <= n <= 1999:
        return 1

def main():
    x = II()
    print(calc_rating(x))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python
"""M-SOLUTIONS プロコンオープン 2020: A - Kyu in AtCoder
https://atcoder.jp/contests/m-solutions2020/tasks/m_solutions2020_a
"""


def main():
    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('{}'.format(ans))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
m=int(input())

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

Submission status: Accepted

Solution code:
import sys
import math
from collections import defaultdict,deque
from itertools import permutations
ml=lambda:map(int,input().split())
ll=lambda:list(map(int,input().split()))
ii=lambda:int(input())
ip=lambda:list(input())
ips=lambda:input().split()
sys.setrecursionlimit(10**6)
"""========main code==============="""

t=1
for _ in range(t):
    x=ii()
    j=8
    for i in range(400,1801,200):
        if(x>=i and x<(i+200)):
            print(j)
        j-=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())
X -= 400
print(8 - X // 200)

Submission status: Accepted

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

X = int(input().rstrip('\n'))
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())
t=0
if 600>n>399:
    t=8
elif 800>n>599:
    t=7
elif 1000>n>799:
    t=6
elif 1200>n>999:
    t=5
elif 1400>n>1199:
    t=4
elif 1600>n>1399:
    t=3
elif 1800>n>1599:
    t=2
else:
    t=1
print(t)

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())
print(8-(X-400) // 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 X >= 1800:
    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 <= 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:
import sys
from collections import deque,defaultdict

I=sys.stdin.readline

def ii():
	return int(I().strip())
def li():
	return list(map(int,I().strip().split()))

def mi():
	return map(int,I().strip().split())


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







		


		










		






if __name__ == '__main__':
	main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def readinput():
    n=int(input())
    return n

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

if __name__=='__main__':
    n=readinput()
    ans=main(n)
    print(ans)

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

def main():
    ans = 0
    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:
r = int(raw_input())
s = 400
k = 8
for i in range(8):
	if s <= r < s + 200:
		print k
		break
	s += 200
	k -= 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>=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:
n = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

ans = n // 200

ans = 10 -ans

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

kyu = (n-400)//200
if kyu < 1:
    ans = 8
elif kyu < 2:
    ans = 7
elif kyu < 3:
    ans = 6
elif kyu < 4:
    ans = 5
elif kyu < 5:
    ans = 4
elif kyu < 6:
    ans = 3
elif kyu < 7:
    ans = 2
else:
    ans =  1

print(ans)

Submission status: Accepted

Solution code:

def main():
    X = int(input())

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
rate = int(input())

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

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<=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:
# input()
# int(input())
# map(int, input().split())
# list(map(int, input().split()))
# list(map(int, list(input()))) # スペースがない数字リストを読み込み
import math
import fractions
import sys
import bisect
import heapq  # 優先度付きキュー(最小値取り出し)
import collections
from collections import Counter
from collections import deque
import pprint
import itertools

sr = lambda: input()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

"""nを素因数分解"""
"""2以上の整数n => [[素因数, 指数], ...]の2次元リスト"""


def factorization(n):
    arr = []
    temp = n
    if n == 1:
        return arr

    for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
        if temp % i == 0:
            cnt = 0
            while temp % i == 0:
                cnt += 1
                temp //= i
            arr.append([i, cnt])

    if temp != 1:
        arr.append([temp, 1])

    if arr == []:
        arr.append([n, 1])

    return arr


# a^n
def power(a, n, mod):
    x = 1
    while n:
        if n & 1:
            x *= a % mod
        n >>= 1
        a *= a % mod
    return x % mod


# n*(n-1)*...*(l+1)*l
def kaijo(n, l, mod):
    if n == 0:
        return 1
    a = n
    tmp = n - 1
    while (tmp >= l):
        a = a * tmp % mod
        tmp -= 1
    return a

# Union Find
class UnionFind():
    def __init__(self, n):
        self.n = n
        self.parents = [-1] * n

    def find(self, x):
        if self.parents[x] < 0:
            return x
        else:
            self.parents[x] = self.find(self.parents[x])
            return self.parents[x]

    def union(self, x, y):
        x = self.find(x)
        y = self.find(y)

        if x == y:
            return

        if self.parents[x] > self.parents[y]:
            x, y = y, x

        self.parents[x] += self.parents[y]
        self.parents[y] = x

    def size(self, x):
        return -self.parents[self.find(x)]

    def same(self, x, y):
        return self.find(x) == self.find(y)

    def members(self, x):
        root = self.find(x)
        return [i for i in range(self.n) if self.find(i) == root]

    def roots(self):
        return [i for i, x in enumerate(self.parents) if x < 0]

    def group_count(self):
        return len(self.roots())

    def all_group_members(self):
        return {r: self.members(r) for r in self.roots()}

    def __str__(self):
        return '\n'.join('{}: {}'.format(r, self.members(r)) for r in self.roots())

# 約数生成
def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)

    divisors.sort()
    return divisors


inf = 10 ** 18
mod = 10 ** 9 + 7

x = ir()
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:
# coding: utf-8
import math
import numpy
N = int(input())
#a, b = map(int,input().split())
#A = list(map(int,input().split()))

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

Submission status: Accepted

Solution code:
x=int(input())
l=[[600,8],[800,7],[1000,6],[1200,5],[1400,4],[1600,3],[1800,2],[2000,1]]

for m in l:
  if x<m[0]:
    print(m[1])
    break

Submission status: Accepted

Solution code:
import sys
import math
def get_array(): return list(map(int, sys.stdin.readline().strip().split()))
def get_ints(): return map(int, sys.stdin.readline().strip().split())
def input(): return sys.stdin.readline().strip()
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())
cnt=(x-400)//200

print(8-cnt)

Submission status: Accepted

Solution code:
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())
print(f"{10 - x // 200}")

Submission status: Accepted

Solution code:
x = int(input())
kyu = 1
for i in range(1800, 399, -200):
  if x >= i:
    print(kyu)
    break
  else:
    kyu += 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())
if X>=400 and X<=599:
  print(8)
elif X<=799:
  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 >= 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:
def p(i):
    print(i)

X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
ans=0

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
p = 599
for i in range(8):
    
    if x <= p:
        print(8-i)
        exit()
    p += 200

Submission status: Accepted

Solution code:
"""    Arnab Chanda    """

from collections import defaultdict, deque
from itertools import permutations
from sys import stdin,stdout
from bisect import bisect_left, bisect_right
from copy import deepcopy
import heapq

int_input=lambda : int(stdin.readline())
string_input=lambda : stdin.readline().split()
multi_int_input =lambda : map(int, stdin.readline().split())
multi_input = lambda : stdin.readline().split()
list_input=lambda : list(map(int,stdin.readline().split()))
string_list_input=lambda: list(string_input())
MOD = pow(10,9)+7


map={
    400:8,
    600:7,
    800:6,
    1000:5,
    1200:4,
    1400:3,
    1600:2,
    1800:1,
    2000:0
}

x = int_input()

ans = 0
for items in map:
    if (x < items):
        ans = map[items]+1
        break

print(ans)

Submission status: Accepted

Solution code:
x = int(input())

t = int((x - 400) / 200)

print(8 - t)

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

Submission status: Accepted

Solution code:
X = int(input())

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

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:
import math
x = int(input())
print(math.ceil((2000 - x)/200))

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
x=int(input())

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

Submission status: Accepted

Solution code:
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())
x = 2199-X
print(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)
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)