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: Wrong Answer

Solution code:
value = input()
kyu_rated = 8
flag = 0
lvalue = 400
rvalue = 599
for i in range(0, 7):
    if lvalue <= int(value) <= rvalue:
        print(kyu_rated)
        flag = 1
        break
    else:
        lvalue += 200
        rvalue += 200
        kyu_rated -= 1

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
rate=int(input())
a,b,c,d,e,f,g,h=400,600,800,100,1200,1400,1600,1800

if rate>=a and rate<=a+199:
  print(8)

elif rate>=b and b+199>=rate:
  print(7)
elif rate>=c and c+199>=rate:
  print(6)
  
elif rate>=d and d+199>=rate:
  print(5)
  
elif rate>=e and e+199>=rate:
  print(4)
  
elif rate>=f and f+199>=rate:
  print(3)
  
elif rate>=g and g+199>=rate:
  print(2)
  
  
elif rate>=h and h+199>=rate:
  print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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>=1100 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: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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: Wrong Answer

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>=1300 and x<=1499:
    print(3)
elif x>=1500 and x<=1699:
    print(2)
elif x>=1600 and x<=1799:
    print(1)

Submission status: Wrong Answer

Solution code:
X=int(input('X='))
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: Wrong Answer

Solution code:
X = int(input(()))
n = 0
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: Wrong Answer

Solution code:
X = int(input())

if X <= 400 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')
else:
    pass

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
def Kyu(x):
    if 400<=x<=599:
        return '8-kyu'
    if 600<=x<=799:
        return '7-kyu'
    if 800<=x<=999:
        return '6-kyu'
    if 1000<=x<=1199:
        return '5-kyu'
    if 1200<=x<=1399:
        return '4-kyu'
    if 1400<=x<=1599:
        return '3-kyu'
    if 1600<=x<=1799:
        return '2-kyu'
    if 1800<=x<=1999:
        return '1-kyu'

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
ans = 8
if x<600: ans=8
if 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
elif x<2000: ans=1
print(ans)

Submission status: Wrong Answer

Solution code:
number = int(input())
if number in range(400, 599):
  print('8')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())

if 400 <= x <= 599:print(8)
elif 700 <= 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(7)

Submission status: Wrong Answer

Solution code:
X = int(input())

kyu = [600,800,1000,1200,1400,1600,2000]
N = 8

for i in range(len(kyu)):
    if X < kyu[i]:
        print(N - i)
        break

Submission status: Wrong Answer

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

Solution code:
X = int(input())

if X <= 400 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)
else:
    pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
kyu = [400,600,800,1000,1200,1400,1600,1800]

x = int(input())

for i, v in enumerate(kyu):
    if x < v:
        print(9-i)
        break

Submission status: Wrong Answer

Solution code:
a = int(input())
arr = list(range(400,1801,200))
arr2 = [8,7,6,5,4,3,2,1]
res = 8
for i in range(1,len(arr)):
  if (a >= arr[i]):
    res = arr2[i]
  else:
    print(res)
    break

Submission status: Wrong Answer

Solution code:
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import sys
#####################################
x=int(input())
if x>=400 and x<=599:
    print(8)
elif x>=600 and x<=799:
    print(7)
elif x>=800 and x<=799:
    print(6)
elif x>=1000 and x<=799:
    print(5)
elif x>=1200 and x<=799:
    print(4)
elif x>=1400 and x<=799:
    print(3)
elif x>=1600 and x<=799:
    print(2)
elif x>=1800 and x<=1999:
    print(1)

Submission status: Wrong Answer

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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(8)
elif X < 2000:
    print(1)

Submission status: Wrong Answer

Solution code:
X = int(input())

if X <= 400 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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 599:
    print(8)
    exit()
x -= 599
for i in range(9):
    x -= 199
    if x <= 0:
        print(7 - i)
        exit()

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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


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

def main():
    #for _ in range(int(input())):
    n=int(input())
    # n,k=map(int,input().split())
    # arr=inar()
    if n>=400 and n<=599:
        print('8')
    elif n>=600 and n<=799:
        print('7')
    elif n>=800 and n<=999:
        print('6')
    elif n>1000 and n<=1199:
        print('5')
    elif n>=1200 and n<=1399:
        print('4')
    elif n>=1400 and n<=1599:
        print('3')
    elif n>=1600 and n<=1799:
        print('2')
    else:
        print('1')












BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

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

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

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

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


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


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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys
from string import ascii_letters as ascii

def Ss():
  return sys.stdin.readline().rstrip()

def Is():
  return map(int, Ss())

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

score = int(Ss())
print(score)
print(get_kyu(score))

Submission status: Wrong Answer

Solution code:
"""
AtCoder :: M-Solutions Programming Contest 2020 :: Kyu in AtCoder
https://atcoder.jp/contests/m-solutions2020/tasks/m_solutions2020_a
"""
import sys


def solve(rating):
    """Solve puzzle."""
    if 400 <= rating and rating <= 599: 
        return 8
    elif 600 <= rating and rating <= 799: 
        return 7
    elif 800 <= rating and rating <= 999: 
        return 6
    elif 1000 <= rating and rating <= 1199: 
        return 5
    elif 1200 <= rating and rating <= 1399:
        return 4
    elif 1400 <= rating and rating <= 1599: 
        return 3
    elif 1600 <= rating and rating <= 1799: 
        return 2
    elif 1800 <= rating and rating <= 1999: 
        1


def main():
    """Main program."""
    rating = int(sys.stdin.readline())
    print(solve(rating))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
s = int(input()) 

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

Submission status: Wrong Answer

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('3')
elif (X < 1999):
    print('1')

Submission status: Wrong Answer

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

Solution code:
# m-solutions2020_a.py
# https://atcoder.jp/contests/m-solutions2020 : A

global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    # FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    X = int(lines[0])

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

    return [ret]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = [725]
        lines_export = [7]
    if pattern == 2:
        lines_input = [1600]
        lines_export = [2]
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    if mode > 0:
        print(f'lines_input=[{lines_input}]')
        print(f'lines_export=[{lines_export}]')
        print(f'lines_result=[{lines_result}]')
        if lines_result == lines_export:
            print('OK')
        else:
            print('NG')
    finished = time.time()
    duration = finished - started
    print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
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 <= 1999:
    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: Wrong Answer

Solution code:
n = int(input())

ans = n//100

if ans< 5:
    print(8)
    exit()
elif ans >= 6 and ans <= 7:
    print(7)
    exit()
elif ans >= 8 and ans <= 9:
    print(6)
    exit()
elif ans >= 10 and ans <= 11:
    print(5)
    exit()
elif ans >= 12 and ans <= 13:
    print(4)
    exit()
elif ans >= 14 and ans <= 15:
    print(3)
    exit()
elif ans >= 16 and ans <= 17:
    print(2)
    exit()
elif ans >= 18 and ans <= 19:
    print(1)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())
ans = 8
if 600<=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
elif x<2000: ans=1
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
x=int(input())
for i in range(8):
    if(400+i*200)<=x:
        y=8-i
print(y,'級')

Submission status: Wrong Answer

Solution code:
"""
    こんにちは。これはクシャルです
    
    Author : thekushalghosh (クシャル)
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time,itertools
start_time = time.time()
##########################################################################
################# ---- THE ACTUAL CODE STARTS BELOW ---- #################
    
def solve():
    n = inp()
    q = 2199 - n
    q = q // 200
    print(q,"-kyu",sep = "")
    
################## ---- THE ACTUAL CODE ENDS ABOVE ---- ##################
##########################################################################
 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
        sys.stdout.close()
    
#---------------------- USER DEFINED INPUT FUNCTIONS ----------------------#
def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(int,input().split()))
 
#------------------ USER DEFINED PROGRAMMING FUNCTIONS ------------------#
def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1] + 1
    return(q)

def counter_elements(a):
    q = dict()
    for i in range(len(a)):
        if a[i] not in q:
            q[a[i]] = 0
        q[a[i]] = q[a[i]] + 1
    return(q)

def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97],1
    return(q)
 
def factors(n):
    q = []
    for i in range(1,int(n ** 0.5) + 1):
        if n % i == 0: q.append(i); q.append(n // i)
    return(list(sorted(list(set(q)))))
 
def prime_factors(n):
    q = []
    while n % 2 == 0: q.append(2); n = n // 2
    for i in range(3,int(n ** 0.5) + 1,2):
        while n % i == 0: q.append(i); n = n // i
    if n > 2: q.append(n)
    return(list(sorted(q)))

def transpose(a):
    n,m = len(a),len(a[0])
    b = [[0] * n for i in range(m)]
    for i in range(m): 
        for j in range(n): 
            b[i][j] = a[j][i]
    return(b)

#-----------------------------------------------------------------------#
        
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
main()

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
n = int(input())

ans = n//100

if ans< 5:
    print(8)
elif ans >= 6 and ans <= 7:
    print(7)
    exit()
elif ans >= 8 and ans <= 9:
    print(6)
    exit()
elif ans >= 10 and ans <= 11:
    print(5)
    exit()
elif ans >= 12 and ans <= 13:
    print(4)
    exit()
elif ans >= 14 and ans <= 15:
    print(3)
    exit()
elif ans >= 16 and ans <= 17:
    print(2)
    exit()
elif ans >= 18 and ans <= 19:
    print(1)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())

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


      
print(l)

Submission status: Wrong Answer

Solution code:
X = int(input())
A = 2000 - X
if A % 200 == 0:
    print(str(A // 200) + "級") 
else:
    print(str(A // 200 + 1) + "級")

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
a = int(input())

if 400 <= a <= 599:
  print("8")
if 600 <= a <= 799:
  print("8")
if 800 <= a <= 999:
  print("8")  
if 1000 <= a <= 1199:
  print("8")
if 1200 <= a <= 1399:
  print("8")
if 1400 <= a <= 1599:
  print("8")
if 1600 <= a <= 1799:
  print("8")
if 1800 <= a <= 1999:
  print("8")

Submission status: Wrong Answer

Solution code:
x = int(input())

if x < 600:
    print(8)
elif 600 <= x < 800:
    print(7)
elif 800 <= x < 1000:
    print(6)
elif 600 <= x < 800:
    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: Wrong Answer

Solution code:
a = int(input())


if 400 <= a and 599 <= a:
    print(8)
elif 600 <= a and 799 <= a:
    print(7)

elif 800 <=  a and 999 <= a:
    print(6)
elif 1000 <= a and 1199 <= a:
    print(5)

elif 1200 <= a and 1399 <= a:
    print(4)
elif 1400 <= a and 1599 <= a:
    print(3)
elif 1600 <= a and 1799 <= a:
    print(2)

elif 1800 <= a and 1999 <= a:
    print(1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
x = int(input())
lank8 = list(range(400, 600))
lank7 = list(range(400, 800))
lank6 = list(range(400, 1000))
lank5 = list(range(400, 1200))
lank4 = list(range(400, 1400))
lank3 = list(range(400, 1600))
lank2 = list(range(400, 1800))
lank1 = list(range(400, 200))
if x in lank8:
    print(8)
elif x in lank7:
    print(7)
elif x in lank6:
    print(6)
elif x in lank5:
    print(5)
elif x in lank4:
    print(4)
elif x in lank3:
    print(3)
elif x in lank2:
    print(2)
elif x in lank1:
    print(1)

Submission status: Wrong Answer

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 1900 <= x <= 1999:
    print(1)

Submission status: Wrong Answer

Solution code:
w = 199

x = int(input())

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