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:
FAST_IO = 1
if FAST_IO:
    import io, sys, atexit
    rr = iter(sys.stdin.read().splitlines()).next
    sys.stdout = _OUTPUT_BUFFER = io.BytesIO()

    @atexit.register
    def write():
        sys.__stdout__.write(_OUTPUT_BUFFER.getvalue())
else:
    rr = raw_input
rri = lambda: int(rr())
rrm = lambda: map(int, rr().split())
rrmm = lambda n: [rrm() for _ in xrange(n)]
n = rri()
if 400<=n<=599:
    print(8)
if 600<=n<=799:
    print(7)
if 800<=n<=999:
    print(6)
if 1000<=n<=1199:
    print(5)
if 1200<=n<=1399:
    print(4)
if 1400<= n<=1599:
    print(3)
if 1600<=n<=1799:
    print(2)
if 1800<=n<=1999:
    print(1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    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)
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:
#!/usr/bin/env python3
import sys


def solve(X: int):
    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)
    return


# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    solve(X)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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())
print(int((1999 - X ) / 200)+1)

Submission status: Accepted

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

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:
#: Author - Soumya Saurav
import sys,io,os,time
from collections import defaultdict
from collections import OrderedDict
from collections import deque
from itertools import combinations
from itertools import permutations
import bisect,math,heapq
alphabet = "abcdefghijklmnopqrstuvwxyz"

input = sys.stdin.readline

########################################
x = int(input())
arr = [i for i in range(8,-1,-1)]
ans = 0
if 400 <= x < 600:
	ans = arr[0]
elif 600 <= x < 800:
	ans = arr[1]
elif 800 <= x < 1000:
	ans = arr[2]
elif 1000 <= x < 1200:
	ans = arr[3]
elif 1200 <= x < 1400:
	ans = arr[4]
elif 1400 <= x < 1600:
	ans = arr[5]
elif 1600 <= x < 1800:
	ans = arr[6]
elif 1800 <= x < 2000:
	ans = arr[7]

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

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

print(ans)

Submission status: Accepted

Solution code:

N = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

X = int(input())

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

Submission status: Accepted

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

def main():
    if(n<600):
        print(8)
        return
    elif(n<800):
        print(7)
        return
    elif(n<1000):
        print(6)
        return
    elif(n<1200):
        print(5)
        return
    elif(n<1400):
        print(4)
        return
    elif(n<1600):
        print(3)
        return
    elif(n<1800):
        print(2)
        return
    else:
        print(1)
        return
if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
from sys import stdin, stdout
import heapq
import cProfile
from collections import Counter, defaultdict, deque
from functools import reduce
import math
import string

def get_int():
    return int(stdin.readline().strip())


def get_tuple():
    return map(int, stdin.readline().split())


def get_list():
    return list(map(int, stdin.readline().split()))

x = get_int()
if x<600: print("8")
elif x>=1800: print("1")
else:
    print(8-(x-400)//200)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
kyu = 1
for i in range(1800, 0, -200):
    if i <= N:
        break
    kyu += 1
print(kyu)

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 <= 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 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:
#ceilevenoddformula
import math
import bisect
import copy
import time
from collections import Counter
#map(int,input().split())
#int(x) for x in input().split()
n=int(input())
if n>=400 and n<=599:
	print(8)
elif n>=600 and n<=799:
	print(7)
elif n>=800 and n<=999:
	print(6)
elif n>=1000 and n<=1199:
	print(5)
elif n>=1200 and n<=1399:
	print(4)
elif n>=1400 and n<=1599:
	print(3)
elif n>=1600 and n<=1799:
	print(2)
else:
	print(1)

Submission status: Accepted

Solution code:
def resolve():
    
    X=int(input())
    # A=list(map(int,input().split()))

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

    print(ans)        


resolve()

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

Submission status: Accepted

Solution code:
n = int(input())

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

  
print(ans)

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:
import sys
#import string
#from collections import defaultdict, deque, Counter
#import bisect
#import heapq
#import math
#from itertools import accumulate
#from itertools import permutations as perm
#from itertools import combinations as comb
#from itertools import combinations_with_replacement as combr
#from fractions import gcd
#import numpy as np

stdin = sys.stdin
sys.setrecursionlimit(10 ** 7)
MIN = -10 ** 9
MOD = 10 ** 9 + 7
INF = float("inf")
IINF = 10 ** 18

def solve():
    x = int(stdin.readline().rstrip())
    #A, B, C = map(int, stdin.readline().rstrip().split())
    #l = list(map(int, stdin.readline().rstrip().split()))
    #numbers = [[int(c) for c in l.strip().split()] for l in sys.stdin]
    #word = [stdin.readline().rstrip() for _ in range(n)]
    #number = [[int(c) for c in stdin.readline().rstrip()] for _ in range(n)]
    #zeros = [[0] * w for i in range(h)]
    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__':
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

#S = input()
N = int(input())
#A,B = input().split()
#A,B = map(int, input().split())
#List = list(map(int, input().split()))

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

Submission status: Accepted

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

x = int(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/python
# -*- coding: UTF-8 -*-

import sys


def std_in():
    return sys.stdin.readline().strip()


def main():
    x = int(std_in())
    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:
        pass


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x=int(input())
h=[1800,1600,1400,1200,1000,800,600,400]
for i in range(8):
    if x>=h[i]:
        print(i+1)
        break

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 math

x = int(input())
ans = 8 - (x-400)/200
print(math.ceil(ans))

Submission status: Accepted

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

Submission status: Accepted

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

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:
#関数リスト
import sys
input = sys.stdin.readline
def I(): return int(input())

num = I()
num -= 400
print(8-num//200)

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

RATE = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]

your_rate = 8

for i in range(len(RATE)-1):
    if RATE[i] <= X < RATE[i+1]:
        print(your_rate)
        break
    else:
        your_rate -= 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:
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:
import sys

def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def main():
    x = I()
    ans = 0
    if x < 600:
        ans = 8
    elif x < 800:
        ans = 7
    elif x < 1000:
        ans = 6
    elif x < 1200:
        ans = 5
    elif x < 1400:
        ans = 4
    elif x < 1600:
        ans = 3
    elif x < 1800:
        ans = 2
    else:
        ans = 1
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def inN():
    return int(input())
def inL():
    return list(map(int,input().split()))
def inNL(n):
    return [input().split() for i in range(n)]

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
n=int(input())
if 400<=n<=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:
#Problm A

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:
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 = 2000-x
a = -(-x//200)

print(a)

Submission status: Accepted

Solution code:
x = int(input())
l = [i for i in range(400,2200,200)]
k = [i for i in range(1,9)]
k.reverse()
# print(k)
for i in range(len(l)-1):
    if l[i] <= x < l[i+1]:
        print(k[i])

Submission status: Accepted

Solution code:
from collections import defaultdict,deque
from sys import stdin,setrecursionlimit
import heapq,bisect,math,itertools,string,queue,copy
setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inpl(): return list(map(int, stdin.readline().split()))

x = int(input())

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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
X = int(input())
A = [600, 800, 1000, 1200, 1400, 1600, 1800, 2000]

for i, a in enumerate(A):
    if X < a:
        ans = 8 - i
        break
print(ans)

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

Submission status: Accepted

Solution code:
import math
x=int(input())
k=8-math.floor((x-400)/200.0)
print(k)

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

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

Submission status: Accepted

Solution code:
x = int(input())

if 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
elif x >= 400:
    ans = 8

print(ans)

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:
a=int(input())
kyu=9
while a >= 400:
  a-=200
  kyu-=1
else:
  print(kyu)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# FileName: 	A
# CreatedDate:  2020-07-25 20:59:58 +0900
# LastModified: 2020-07-25 21:02:51 +0900
#


import os
import sys
# import numpy as np
# import pandas as pd


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



if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())
a = 400
ans = 8
while True:
    if X >= a and X <= a + 199:
        print(ans)
        break
    else:
        a += 200
        ans -= 1

Submission status: Accepted

Solution code:
X=int(input())

x=X//100

if x<6:
  print(8)
elif x<8:
  print(7)
elif x<10:
  print(6)
elif x<12:
  print(5)
elif x<14:
  print(4)
elif x<16:
  print(3)
elif x<18:
  print(2)
else:
  print(1)

Submission status: Accepted

Solution code:
# Author: S Mahesh Raju
# Username: maheshraju2020
# Date: 25/07/2020

from sys import stdin,stdout
from math import gcd, ceil, sqrt
from collections import Counter
from bisect import bisect_left, bisect_right
ii1 = lambda: int(stdin.readline().strip())
is1 = lambda: stdin.readline().strip()
iia = lambda: list(map(int, stdin.readline().strip().split()))
isa = lambda: stdin.readline().strip().split()
mod = 1000000007

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

Submission status: Accepted

Solution code:
d = {
    range(400, 600): 8,
    range(600, 800): 7,
    range(800, 1000): 6,
    range(1000, 1200): 5,
    range(1200, 1400): 4,
    range(1400, 1600): 3,
    range(1600, 1800): 2,
    range(1800, 2000): 1,
}
x = int(input())
for k, v in d.items():
    if x in k:
        print(v)

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:
## for use in beginner level questions where speed is key
## and also for single test case code
## mastercopy for x,y,z

import sys
import heapq, functools, collections
import random
from collections import Counter, defaultdict

# read line as a string
# strr = input()

# read line as an integer
k = int(input())

# read one line and parse each word as a string
# lst = input().split()

# read one line and parse each word as an integer
# arr = list(map(int,input().split()))

print((2199-k)//200)

Submission status: Accepted

Solution code:
def resolve():
    N = int(input())
    print(10-(N//200))

    
if '__main__' == __name__:
    resolve()

Submission status: Accepted

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

'''

'''

x = int(input())
n = 8
for l, r in [(400, 599), (600, 799), (800, 999), (1000, 1199), (1200, 1399), (1400, 1599), (1600, 1799), (1800, 1999)]:
    if l <= x <= r:
        print(n)
        break
    n -= 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import re
import math
import collections
import decimal
import bisect
import itertools
import fractions
import functools
import copy
import heapq
import decimal
import statistics
import queue

# import numpy as np

sys.setrecursionlimit(10 ** 9)
INF = 10 ** 16
MOD = 10 ** 9 + 7
# MOD = 998244353

ni = lambda: int(sys.stdin.readline())
ns = lambda: map(int, sys.stdin.readline().split())
na = lambda: list(map(int, sys.stdin.readline().split()))


# ===CODE===

def main():
    ans = [8, 7, 6, 5, 4, 3, 2, 1]
    x = ni()
    print(ans[(x - 400) // 200])


if __name__ == '__main__':
    main()