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.

Solution (Python):
score = int(input())

atcoder_class = 1

if 400 <= score < 600:
    atcoder_class = 8
elif 600 <= score < 800:
    atcoder_class = 7
elif 800 <= score < 1000:
    atcoder_class = 6
elif 1000 <= score < 1200:
    atcoder_class = 5
elif 1200 <= score < 1400:
    atcoder_class = 4
elif 1400 <= score < 1600:
    atcoder_class = 3
elif 1600 <= score < 1800:
    atcoder_class = 2
elif 1800 <= score < 2000:
    atcoder_class = 1

print(atcoder_class)

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

def main():
    X = int(read())
    list = [i*200 for i in range(9, 1, -1)]
    for i, l in enumerate(list):
        if X >= l:
            ans = i + 1
            break
    print(ans)
    return

if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())
if x in range(400,600):
    print("8")
elif x in range(600,800):
    print("7")
elif x in range(800,1000):
    print("6")
elif x in range(1000,1200):
    print("5")
elif x in range(1200,1400):
    print("4")
elif x in range(1400,1600):
    print("3")
elif x in range(1600,1800):
    print("2")
elif x in range(1800,2000):
    print("1")

Solution (Python):
X = int(input())
ans = 0
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)

Solution (Python):
x=int(input())
for i in range(8):
    if x>=400+i*200 and x<600+i*200:
        print(8-i)
        break

Solution (Python):
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
elif 1800 <= x and x <= 1999:
    ans = 1
print(ans)

Solution (Python):
n = int(input())

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

Solution (Python):
x = int(input())
ans = 8
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)

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

Solution (Python):
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)

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

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

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

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

Solution (Python):
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)

Solution (Python):
n = input()
n =int(n)
m = (n-400)/200
m = int(m)
print(8-m)

Solution (Python):
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")

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

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

Solution (Python):
x = int(input())

t = 400
kyu = 8
while t < 2000:
    if x >= t and x < t + 200:
        print(kyu)
        break
    else:
        t += 200
        kyu -= 1

Solution (Python):
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)

Solution (Python):
X = int(input())

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

  
  
print(kyu)

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

Solution (Python):
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)

Solution (Python):
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)

Solution (Python):
m = int(input())

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

Solution (Python):
def main():
    X = int(input())
    X += 1

    ans = 11
    while X > 0:
        X -= 200
        ans -= 1

    print(ans)

if __name__ == '__main__':
    main()

Solution (Python):
import sys

n = int(input())

a = [599, 799, 999, 1199, 1399, 1599, 1799, 1999]

ss = 8

for i in a:
  if n - i <= 0:
    print(ss)
    sys.exit()
  ss -= 1

Solution (Python):



global FLAG_LOG
FLAG_LOG = False


def log(value):
    
    
    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():
    
    
    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')
    
    
    



if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())


kyu = 0

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

print(kyu)

Solution (Python):
kyu = [400,600,800,1000,1200,1400,1600,1800,2000]

x = int(input())

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

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

Solution (Python):
def solve(X):
    ans = 1
    if X <= 1999:
        ans = 1
    if X <= 1799:
        ans = 2
    if X <= 1599:
        ans = 3
    if X <= 1399:
        ans = 4
    if X <= 1199:
        ans = 5
    if X <= 999:
        ans = 6
    if X <= 799:
        ans = 7
    if X <= 599:
        ans = 8
    print(ans)


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

Solution (Python):
x = int(input())
for i in range(400,2000,200):
  if i<=x<=i+199:
    print(int(10-(i/200)))

Solution (Python):
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)

Solution (Python):
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')

Solution (Python):
X=int(input())
if X >= 1800:
  Y=1
else:
  if X>=1600:
    Y=2
  else:
    if X>=1400:
     Y=3
    else:
      if X>=1200:
        Y=4
      else:
        if X>=1000:
          Y=5
        else:
          if X>=800:
            Y=6
          else:
            if X>=600:
              Y=7
            else:
              if X>=400:
                Y=8
print(Y)

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

Solution (Python):
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')

Solution (Python):
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")

Solution (Python):
my_rate = input()
rate_kyu = [2000, 1800, 1600, 1400, 1200, 1000, 800, 600, 400]

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

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

Solution (Python):
X = int(input())

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

print(kyu)

Solution (Python):


tensu = int(input())

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

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

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

Solution (Python):
x = int(input())
ran = list(range(400,2200,200))
pointer = 0
while x >= ran[pointer]:
    pointer += 1
print(9-pointer)

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

Solution (Python):
x=int(input())

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

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

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

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

Solution (Python):
X = int(input())

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

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

Solution (Python):
x = int(input())

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

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

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

Solution (Python):
X = int(input())
X = 1999 - X
print(X//200 + 1)

Solution (Python):
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")

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

Solution (Python):
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)

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

Solution (Python):
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)

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

Solution (Python):
iv = int(input())

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

Solution (Python):
X = int(input())
i = 1
N = 1800
while N >=400:
  if X >= N:
    print(i)
    break
  N = N-200
  i = i+1

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

Solution (Python):
n=int(input())
for i in range(8):
    if n>=400+200*i and 599+200*i>=n:
        print(8-i)

Solution (Python):
x = int(input())

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

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

x = ii()

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

Solution (Python):


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

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

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

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

Solution (Python):
from sys import exit

X = int(input())

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

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

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

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

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

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

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

print(1)

Solution (Python):
x = int(input())

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

print(k(x))

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

Solution (Python):
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)

Solution (Python):
X = int(input())

ranking_class_q = X // 200

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

Solution (Python):
from bisect import bisect


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

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

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

Solution (Python):
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)

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

Solution (Python):
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import sys

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

Solution (Python):
X = int(input())
ans = 0
if X >= 1800:
  ans = 1
elif X >= 1600:
  ans = 2
elif X >= 1400:
  ans = 3
elif X >= 1200:
  ans = 4
elif X >= 1000:
  ans = 5
elif X >= 800:
  ans = 6
elif X >= 600:
  ans = 7
else:
  ans = 8

print(ans)

Solution (Python):
x=int(input())

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

print(kyu)

Solution (Python):
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)

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 9)

def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')







def solve():
    X = II()

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

if __name__ == '__main__':
    solve()

Solution (Python):

def main():
    X = int(input())
    N = 1800
    for i in range(8):
        if X >= N:
            print(i+1)
            exit()
        else:
            N -= 200
if __name__  == '__main__':
    main()

Solution (Python):
x = int(input())

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

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

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

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

print(ans)

Solution (Python):
X = int(input())


ans = 8

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

Solution (Python):
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)

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

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

N = I()

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

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

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

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

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

Solution (Python):
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)

Solution (Python):
w = 199

x = int(input())

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

Solution (Python):
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)

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

Solution (Python):
X = int(input())
if X <= 599:
    print("8")
else:
    if X <= 799:
        print("7")
    else:
        if X <= 999:
            print("6")
        else:
            if X <= 1199:
                print("5")
            else:
                if X <= 1399:
                    print("4")
                else:
                    if X <= 1599:
                        print("3")
                    else:
                        if X <= 1799:
                            print("2")
                        else:
                            print("1")

Solution (Python):
X = int(input())

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