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

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

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 sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = 10 ** 19
MOD = 10 ** 9 + 7
EPS = 10 ** -10

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

if 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:
#!/usr/bin/env python3

x = int(input())

kyu = 1

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

print(kyu)

Submission status: Accepted

Solution code:
import bisect
import cmath
import heapq
import itertools
import math
import operator
import os
import random
import re
import string
import sys
from collections import Counter, defaultdict, deque
from copy import deepcopy
from decimal import Decimal
from functools import lru_cache, reduce
from math import gcd
from operator import add, itemgetter, mul, xor

import numpy as np

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7
# MOD = 998244353


a = int(sys.stdin.buffer.readline())
if a >= 1800:
    print(1)
elif a >= 1600:
    print(2)
elif a >= 1400:
    print(3)
elif a >= 1200:
    print(4)
elif a >= 1000:
    print(5)
elif a >= 800:
    print(6)
elif a >= 600:
    print(7)
else:
    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')
else:
  print('1')

Submission status: Accepted

Solution code:
x = int(input())

n = 400

if x < 1.5*n:
    print(8)
elif x < 2*n:
    print(7)
elif x < 2.5*n:
    print(6)
elif x < 3*n:
    print(5)
elif x < 3.5*n:
    print(4)
elif x < 4*n:
    print(3)
elif x < 4.5*n:
    print(2)
elif x < 5*n:
    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<600:
    print(8)
    
if 600<=x<800:
    print(7)
    
if 800<=x<1000:
    print(6)
    
if 1000<=x<1200:
    print(5)
    
if 1200<=x<1400:
    print(4)
    
if 1400<=x<1600:
    print(3)
    
if 1600<=x<1800:
    print(2)
    
if 1800<=x<2000:
    print(1)

Submission status: Accepted

Solution code:
def m():
    x = int(input())

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

print(m())

Submission status: Accepted

Solution code:
x=int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
rate = int(input())
a = rate - 400
k = a // 200
ans = 8 - k
print(ans)

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
x=int(input())

if x<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:
rating=int(input())
print(10-rating//200)

Submission status: Accepted

Solution code:
#dt = {} for i in x: dt[i] = dt.get(i,0)+1
import sys;input = sys.stdin.readline
inp,ip = lambda :int(input()),lambda :[int(w) for w in input().split()]

n = inp()
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())
for i in range(7):
    if X < 600 + 200*i:
        print(8-i)
        exit()
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:
# -*- coding: utf-8 -*-
# 整数の入力

num = int(input())


# 出力
print("{}".format(10 - int(num / 200)))

Submission status: Accepted

Solution code:
x = int(input())
y = 2000
for i in range(8):
  if y-200<=x<y:
    print(i+1)
  y = y - 200

Submission status: Accepted

Solution code:
x = int(input())

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

print(res)

Submission status: Accepted

Solution code:
x = int(input())

for b in range(2, 10):
    a = b*200
    if x >= a and x <= a+199:
        print(10-b)
        break

Submission status: Accepted

Solution code:
x=int(input())

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
else:
    ans=1

print(ans)

Submission status: Accepted

Solution code:
x = int(input())
print((1999-x)//200+1)

Submission status: Accepted

Solution code:
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
# def LF(): return [float(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  x=I()
  if 400<=x<600:
    return 8
  elif 600<=x<800:
    return 7
  elif 800<=x<1000:
    return 6
  elif 1000<=x<1200:
    return 5
  elif 1200<=x<1400:
    return 4
  elif 1400<=x<1600:
    return 3
  elif 1600<=x<1800:
    return 2
  elif 1800<=x<2000:
    return 1

# main()
print(main())

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
# 幅優先探索（行きがけ）
import collections
import sys
import copy
import re
import math


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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


def solve(X: int):
    for r, k in zip(range(600, 2001, 200), range(8, 0, -1)):
        if X < r:
            return k
    raise

# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools
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
    print(solve(X))

def test():
    import doctest
    doctest.testmod()

if __name__ == '__main__':
    #test()
    main()

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:
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:
# vim: fileencoding=utf-8


def main():
    a = int(input())
    if a <= 599:
        print(8)
    elif a <= 799:
        print(7)
    elif a <= 999:
        print(6)
    elif a <= 1199:
        print(5)
    elif a <= 1399:
        print(4)
    elif a <= 1599:
        print(3)
    elif a <= 1799:
        print(2)
    elif a <= 1999:
        print(1)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
import collections
import bisect
from collections import deque
from copy import copy, deepcopy


def main():
    X = int(input())
    print(10 - X // 200)


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

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

Submission status: Accepted

Solution code:
from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import product, combinations, permutations
from copy import deepcopy
import sys
import numpy as np
sys.setrecursionlimit(4100000)



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

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

Submission status: Accepted

Solution code:
import sys
def I(): return int(sys.stdin.readline().rstrip())
x = I()
ans = 0
if 400<=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:
#!/usr/bin/env python3
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
import collections
from decimal import Decimal # 10進数で考慮できる

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000

d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**7)

readline = sys.stdin.buffer.readline
def readstr():return readline().rstrip().decode()
def readstrs():return list(readline().decode().split())
def readint():return int(readline())
def readints():return list(map(int,readline().split()))
def printrows(x):print('\n'.join(map(str,x)))
def printline(x):print(' '.join(map(str,x)))

x = readint()
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())

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

for i in range(len(rank)):
    if x<=point[i]:
        print(rank[i])
        exit()

Submission status: Accepted

Solution code:
x=int(input()[:-2])
print(int(10-x//2))

Submission status: Accepted

Solution code:
x = int(input())

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

Solution code:
# coding: utf-8

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 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:
X = int(input())
y = X//200
print(10-y)

Submission status: Accepted

Solution code:
X = int(input())
if 1800 <= X:
    print(1)
    exit()

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

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

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

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

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

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

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

Submission status: Accepted

Solution code:
x = int(input()) - 400
ans = 8

while x >= 200:
    x -= 200
    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=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())
d = [8,7,6,5,4,3,2,1]
for i in range(8):
  if (i+2)*200<=x<(i+3)*200:
    print(d[i])
    break

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

Submission status: Accepted

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

print(a)

Submission status: Accepted

Solution code:
def main():
    M = int(input())
    ANS = 10 - M//200
    print(ANS)
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
n = int(input())
ans = 8
for i in range(600,2001,200):
	if n < i:
		print(ans)
		break
	ans -= 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< 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 < 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:
import sys
import numpy as np
import math  # gcdもあるよ
from collections import deque
from collections import defaultdict
from copy import deepcopy
from itertools import accumulate #リストを与えると累積和を返す
def input(): return sys.stdin.readline().rstrip()
from functools import lru_cache #メモ化

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

import sys, io, os, re
from bisect import bisect, bisect_left, bisect_right, insort, insort_left, insort_right
from pprint import pprint
from math import sin, cos, pi, radians, sqrt, floor, ceil
from copy import copy, deepcopy
from collections import deque
from fractions import gcd
from functools import reduce
from itertools import groupby
from heapq import heapify, heappush, heappop

# sys.setrecursionlimit(5000)

n1 = lambda: int(sys.stdin.readline().strip())
nn = lambda: list(map(int, sys.stdin.readline().strip().split()))
f1 = lambda: float(sys.stdin.readline().strip())
fn = lambda: list(map(float, sys.stdin.readline().strip().split()))
s1 = lambda: sys.stdin.readline().strip()
sn = lambda: list(sys.stdin.readline().strip().split())
nl = lambda n: [n1() for _ in range(n)]
fl = lambda n: [f1() for _ in range(n)]
sl = lambda n: [s1() for _ in range(n)]
nm = lambda n: [nn() for _ in range(n)]
fm = lambda n: [fn() for _ in range(n)]
sm = lambda n: [sn() for _ in range(n)]

def array1(n, d=0): return [d] * n
def array2(n, m, d=0): return [[d] * m for x in range(n)]
def array3(n, m, l, d=0): return [[[d] * l for y in xrange(m)] for x in xrange(n)]
def linc(A, d=1): return map(lambda x: x + d, A)
def ldec(A, d=1): return map(lambda x: x - d, A)

X = n1()

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

Submission status: Accepted

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

print(a)

Submission status: Accepted

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

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:
if __name__ == '__main__':
    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:
#!/usr/bin/env python

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

if __name__ == '__main__':
    main()

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 < 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:
x=int(input())
if 400<=x<=599:
    print("8")
elif 600<=x<=799:
    print("7")
elif 800<=x<=999:
    print("6")
elif 100<=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())

for num in range(9):
  if 1800 - num*200 <= X <= 1999 -num*200:
    print(num+1)