Problem:
 Score : 100 points    Problem Statement Snuke has a favorite restaurant.  The price of any meal served at the restaurant is 800 yen (the currency of Japan), and each time a customer orders 15 meals, the restaurant pays 200 yen back to the customer.  So far, Snuke has ordered N meals at the restaurant.
Let the amount of money Snuke has paid to the restaurant be x yen, and let the amount of money the restaurant has paid back to Snuke be y yen.
Find x-y .      Constraints  1 ≤ N ≤ 100         Input The input is given from Standard Input in the following format:  N       Output Print the answer.        Sample Input 1 20      Sample Output 1 15800  So far, Snuke has paid 16000 yen, and the restaurant has paid back 200 yen. Thus, the answer is 15800 .       Sample Input 2 60      Sample Output 2 47200  Snuke has paid 48000 yen for 60 meals, and the restaurant has paid back 800 yen.

Solution (Python):
n=int(input())
print(800*n-n//15*200)

Solution (Python):
N = int(input())
print(800 * N - (N // 15) * 200)

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

x = n * 800
y = (n // 15) * 200

print(x - y)

Solution (Python):
n = int(input())
print(n * 800 - (n // 15 ) * 200)

Solution (Python):
n=int(input())
print(800*n-200*(n//15))

Solution (Python):
n = int(input())
print(800 * n - (n //15) * 200)

Solution (Python):
a = int(input())
print(a*800-a//15*200)

Solution (Python):


n = int(input())
x = 800*n
y = int(n/15)*200

print(x-y)

Solution (Python):
N=int(input());print(800*N-N//15*200)

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

siharai = a * 800
omake = (a // 15) * 200

print(siharai - omake)

Solution (Python):
N = int(input())
print(N * 800 - int(N / 15) * 200)

Solution (Python):
N = int(input())
print(800 * N - int(N / 15) * 200)

Solution (Python):
a=input()
print a*800-(a/15)*200

Solution (Python):
N = int(input())
print(800*N-200*(N//15))

Solution (Python):
n=int(input())
print(800*n-200*(n//15))

Solution (Python):
n = int(input())
print(n * 800 - (n // 15) * 200)

Solution (Python):
N = int(input())
print(N*800-(N//15)*200)

Solution (Python):
n = int(input())
print(n*800-n//15*200)

Solution (Python):
n = int(input())
print(n*800-n//15*200)

Solution (Python):
N = int(input())
print(800*N-200*(N//15))

Solution (Python):
N = int(input())
x = N*800
y = (N//15)*200
print(x-y)

Solution (Python):
n = int(input())
pay = 800 *n
back = int(n/15) * 200
print(pay-back)

Solution (Python):
N = int(input())
reward = (N // 15) * 200
print(N * 800 - reward)

Solution (Python):
n = int(input())
print((n * 800) - (n // 15) * 200)

Solution (Python):
n = int(input())
print(800*n - 200*(n//15))

Solution (Python):

N = int(input())
x = 800 * N
y = int(N / 15) * 200
print(x - y)

Solution (Python):
import math
N = int(input())
print (N*800-math.floor(N/15)*200)

Solution (Python):
n = int(input())
x = 800*n
y = 200*(int(n/15))
print(x-y)

Solution (Python):
N = int(raw_input())

print N * 800 - (N / 15) * 200

Solution (Python):
inn = int(input())
print(inn*800 - int(inn/15)*200)

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

print((800*N)-(200*(N//15)))

Solution (Python):
n=int(input())
print(800*n-200*(n//15))

Solution (Python):
a = int(input())
b = a//15
print(a*800-b*200)

Solution (Python):
N = int(input())
print(N*800-(N//15)*200)

Solution (Python):
N=int(input())
y=(N//15)*200
print(N*800-y)

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

x = 800*n
y = 200 * (n // 15)

print(x-y)

Solution (Python):
n = int(input())
print(n*800-(n//15*200))

Solution (Python):





if __name__ == '__main__':
    dish_count = int(input())
    paid_money_yen = dish_count * 800
    cash_back_yen = (dish_count // 15) * 200

    print(paid_money_yen - cash_back_yen)

Solution (Python):
n = int(input())
x = n * 800
y = (n // 15) * 200
print(x - y)

Solution (Python):
N=int(input())
if N<15:
    print(800*N)
else :
    a=N/15
    a=int(a)
    print(800*N-a*200)

Solution (Python):
n = int(input())
print(n * 800 - n // 15 * 200)

Solution (Python):
from math import floor

n = int(input())
print(800 * n - 200 * floor(n/15))

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

print(abs((-800 * N) + (N // 15)*200))

Solution (Python):
n = int(input())
a = (n-n%15)//15
print(800*n-200*a)

Solution (Python):
N = int(input())
print(800 * N - (N // 15) * 200)

Solution (Python):



import math
import re
import sys


def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result




arr_data = getinputdata()

n = int(arr_data[0][0])

print(n*800 - n//15*200)

Solution (Python):
a=int(input())
print(a*800-(a//15)*200)

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

x = N * 800
y = N // 15 * 200

print(x - y)

Solution (Python):
N = int(input())
x = 800*N
y = 200*(N//15)
print(x-y)

Solution (Python):
n = int(input())
print(n * 800 - (int(n / 15) * 200))

Solution (Python):
n = int(input())
discount = n//15
print(n*800-discount*200)

Solution (Python):
n=int(input())
x=800*n
y=200*(n//15)
print(x-y)

Solution (Python):
n=int(input())
print(800*n-(n//15)*200)

Solution (Python):
n=int(input())
print(n*800-(int(n/15))*200)

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

if n < 15:
  print(n * 800)
else:
  m = n // 15
  print(n * 800 - m * 200)

Solution (Python):
n=int(input())
print(800*n-200*(n//15))

Solution (Python):
N=int(input())
print(N*800-200*(N//15))

Solution (Python):
x = input()
print 800*x-x/15*200

Solution (Python):
N = int(input())
print(800*N - 200*(N//15))

Solution (Python):
N = int(input())
print(N*800 - int(N/15)*200)

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

print(N*800 - (N//15)*200)

Solution (Python):
N = int(input())
print (N*800-(N//15)*200)

Solution (Python):
N=input()
print N*800-(N/15)*200 if N>=15 else N*800

Solution (Python):
n = int(input())
x = 800 * n
y = (n //15) * 200
print(x-y)

Solution (Python):
n = int(input())
print(800*n-200*(n//15))

Solution (Python):
import math
n=int(input())
print(n*800-math.floor(n/15)*200)

Solution (Python):
n = int(input())
print(n*800-(n//15)*200)

Solution (Python):
def main():
    N = int(input())

    x = 800 * N
    y = 200 * (N // 15)

    print(x - y)

if __name__ == '__main__':
    main()

Solution (Python):
N=int(input());print(800*N-200*int(N/15))

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

if n < 15:
    print(n*800)
else:
    print(n*800-(n//15)*200)

Solution (Python):
print(sum([(800,600)[i%15==14] for i in range(int(input()))]))

Solution (Python):
n = int(input())
ans = int(n*800-(n//15)*200)
print(ans)

Solution (Python):
n = int(input())
print(n * 800 - int(n / 15) * 200)

Solution (Python):
N=int(input())
a=int(N/15)
print(800*N-200*a)

Solution (Python):
def main():
    N = int(input())
    hoge = N // 15
    print(N * 800 - hoge * 200)


if __name__ == "__main__":
    main()

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

print(800 * N - (N // 15) * 200)

Solution (Python):
N = int(input())
p = N // 15
print(N*800 - p*200)

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


print(N * 800 - (N // 15)* 200)

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

print(N * 800 - int(N / 15) * 200)

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

print 800*num - ((num/15)*200)

Solution (Python):
def Restuarant():
	n=raw_input()
	k= int(n)
	x=k*800
	y= (k//15)*200
	return x-y

print Restuarant()

Solution (Python):
x = int(raw_input())
print(x*800 - (x/15) * 200)

Solution (Python):
x = int(raw_input())
print(x*800 - (x/15) * 200)

"""code length ...... """

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

print 800*num - ((num/15)*200)

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

x = 800*n

y = (n // 15) * 200

print(x-y)

Solution (Python):
num = int(input())
print(num * 800 - num//15*200)

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

print(n * 800 - n // 15 * 200)

Solution (Python):
n = int(input())
x = n * 800
y = int(n / 15) * 200
print(x - y)

Solution (Python):
a = int(input())
b = int(a/15)
print(800*a-200*b)

Solution (Python):
N = int(input())
print(800*N - N//15*200)

Solution (Python):
x = int(input())
print(x * 800 - int(x / 15) * 200)

Solution (Python):
x = int(input())
print(x * 800 - int(x / 15) * 200)

Solution (Python):

import math
import sys
import itertools
import numpy as np
import functools
import collections
mo = 1000000007
INF = 10**100
r = range

class infix(object):
    def __init__(self, function):
        self.function = function

    def __ror__(self, other):
        self.left = other
        return self

    def __or__(self, other):
        return self.function(self.left, other)

    def __call__(self, value1, value2):
        return self.function(value1, value2)

@infix
def c(f_t_u, f_u_r): return lambda t: f_u_r(f_t_u(t))

class _Ap(object):
    def __rlshift__(self, other):
        self.value = other
        return self

    def __rshift__(self, other):
        return other(self.value)
Ap = _Ap()
ap = Ap




n = input()<<ap>>int
print(n*800-n//15*200)

Solution (Python):
N = int(input())
print(800*N - N//15*200)

Solution (Python):
n = int(input())
print(800*n - n//15*200)

Solution (Python):
print((lambda N: 800 * N - N // 15 * 200)(int(input())))

Solution (Python):
n = input()
print 800 * n - 200 * (n / 15)

Solution (Python):
N = int(input())
print(800 * N - N // 15 * 200)

Solution (Python):
N = int(input())
print(800 * N - 200 * (N // 15))

Solution (Python):
N = int(input())
print(800 * N - (N//15) * 200)

Solution (Python):
n = int(input())
print(n * 800 - (n // 15) * 200)

Solution (Python):
N = int(input())
discount = 0
if N > 15:
    discount = N // 15
print(N * 800 - discount * 200)

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

M = N // 15
X = 800 * N - 200 * M

print(X)

Solution (Python):
n = int(input())
print(800*n -(n//15)*200)

Solution (Python):
N = int(input())
x = 800 * N
y = 200 * (N // 15)
print(x-y)

Solution (Python):
def main():
    n = int(input())
    x = n*800
    y = n//15 * 200
    print(x-y)


if __name__ == "__main__":
    main()

Solution (Python):
n= int(input())
print(n*800-n//15*200)

Solution (Python):
n = input()

x = 800 * n
y = (n / 15) * 200
print x - y

Solution (Python):
import math

n = int(raw_input())
x = 800 * n
y = math.floor(n/15)*200
print int(x - y)

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

pay = n * 800
gain = int(n /15) * 200
print(pay - gain)

Solution (Python):
import sys

for x in map(int, [x.strip() for x in sys.stdin]):
	price = x*800
	discount = x/15*200
	print price-discount

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

pay = n * 800
gain = int(n /15) * 200
print(pay - gain)

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

x = N*800

n = N // 15
y = n * 200

print(x - y)

Solution (Python):
def inint(): return int(input())
def inlint(): return list(map(int, input().split()))
def infloat(): return float(input())
def inlffloat(): return list(map(float, input().split()))
def inl(): return list(input())
def putlint(): return "".join(list(map(str, ans)))

n = inint()

a =int( n/15)
print(n*800-a*200)

Solution (Python):





def main():
    N = int(input())
    x = 800 * N
    y = 200 * (N // 15)
    print(x-y)

if __name__ == "__main__": main()

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

x = n * 800
y = (n / 15) * 200

print x - y

Solution (Python):
n = int(input())
print(n*800-200*(n//15))

Solution (Python):
N=int(input())
x=800*N
y=N//15*200
print(x-y)

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

x = 800 * N
y = 200 * (N//15)

print(x - y)

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

x = 800 * N
y = 200 * (N // 15)

print(x-y)

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

x=800*N
y=N//15*200

print(x-y)

Solution (Python):
import math
N = int(input())
x = 800 * N
y = math.floor(N / 15)
y *= 200
ans = x - y
print(ans)

Solution (Python):
from collections import defaultdict


def main():
    N = int(input())
    print(800 * N - (N // 15) * 200)


if __name__ == '__main__':
    main()

Solution (Python):
n = input()
x = 800*n
y = 200*(n/15)
print x-y

Solution (Python):
N = int(input())
print(N*800 - (N//15)*200)

Solution (Python):
n = int(input())
x = n * 800
y = int(n / 15) * 200
print(x - y)

Solution (Python):
N = int(raw_input())
print N*800-N/15*200

Solution (Python):
n = int(input())
print(n * 800 - 200 * (n // 15))

Solution (Python):
N=int(input())
x=800*N
v=N//15
y=200*v
print(x-y)

Solution (Python):
n = int(input())
print(n * 800 - n//15*200)

Solution (Python):
a = int(input())
print(int(800 * a - 200 * (a // 15)))

Solution (Python):
N = int(input())
print(800*N-(N//15)*200)

Solution (Python):
N = int(input())
print(800*N-int(N/15)*200)

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

print(800 * N - N // 15 * 200)

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

print(A * 800 - int(A / 15) * 200)

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

print((A * 800) - (A // 15 * 200))

Solution (Python):
def solve():
    N=int(input())
    print((N//15)*(800*15-200)+(N%15)*800)

if __name__ == "__main__":
    solve()

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

pay = N * 800
back = N // 15

pay = pay - (back * 200)

print(pay)

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


x = 800*a
y = int(a/15)*200

print(x-y)

Solution (Python):


if __name__ == '__main__':
    n = int(input())
    print(800 * n - 200 * (n // 15))

Solution (Python):
N = int(raw_input())
v = 800 * N - 200 * int(N / 15)
print v

Solution (Python):
N = int(input())
print(800 * N - int((N/15)) * 200)

Solution (Python):
N =int(raw_input())
print 800*N - (N/15)*200

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

x=user*800
y=(int(user/15))*200

print(x-y)

Solution (Python):
N = int(input())
X = 800 * N
Y = 200 * (N // 15)
print(X - Y)

Solution (Python):
n = int(input())
print (n * 800 - (n // 15) * 200)

Solution (Python):
n = int(input())
print (n * 800 - (n // 15) * 200)

Solution (Python):
n = input()

x = int(n)*800
y = int(int(n)/15) * 200

print(x-y)

Solution (Python):
N=int(input())
print(N*800-int(N/15)*200)

Solution (Python):
N = int(raw_input())
print 800*N - (N/15)*200

Solution (Python):
N = int(input())
print( N * 800 - (N // 15) * 200)

Solution (Python):
n = int(input())
x = n * 800
y = (n//15) * 200
print(x - y)

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

x = 800 * n
y = 200 * int(n / 15)

print (x - y)

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

x = 800 * n
y = 200 * (n // 15)

print(x-y)

Solution (Python):
n=int(input())
x=800*n-200*(n//15)
print(x)

Solution (Python):
import math
N=int(input())

S=N*800-200*math.floor(N/15)

print(S)

Solution (Python):
a = map(int,raw_input().split())

print a[0]*800 - a[0]/15*200

Solution (Python):
a = input()

print(int(a) * 800 - 200 * (int(a)//15))

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

take = n * 800
give = int(n / 15) * 200

print(take - give)

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

ans = 800 * N - int(N / 15) * 200

print(ans)

Solution (Python):
N = int(input())
print(800 * N - 200 * (N // 15))

Solution (Python):




N = int(input())
x = N * 800
y = int(N / 15) * 200
print(x-y)

Solution (Python):


import sys
import os


N = int(input())

morau = N // 15

x = 800 * N
y = 200 * morau

print(x-y)

Solution (Python):

n = int(input())
x = n * 800
y = (n // 15) * 200
ans = x - y
print(ans)

Solution (Python):
n=int(input())
print(int(n*800-(n-(n%15))/15*200))

Solution (Python):

N = int(input())
result = N * 800 - 200 * (N // 15)
print(result)

Solution (Python):
N = int(input())
x = 800 * N
y = int(N / 15)*200
print(x-y)

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

x = 800 * n
y = n // 15 * 200
print(x-y)

Solution (Python):


n = int(raw_input())

x = 800 * n

y = int(n / 15) * 200

print(x-y)

Solution (Python):
a = int(input())
print(a*800 - a//15*200)

Solution (Python):

N = int(raw_input())
print 800*N - N/15*200

Solution (Python):
n = int(input())
print(int(n*800-(n//15)*200))

Solution (Python):
n = int(raw_input())
print 800*n - 200*(n/15)

Solution (Python):
n=int(raw_input())
print 800*n-200*(n/15)

Solution (Python):



n = int(input())
print(n * 800 - 200 * (n // 15))

Solution (Python):
n = int(input())
x = n*800
y = n//15*200
print(x-y)

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

ans = 800 * N - 200 * (N // 15)

print(ans)

Solution (Python):
N = int(input())
x = 800*N
y = 200*(N//15)
print(x-y)

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

x = 800*N
y = (N//15)*200

print(x-y)

Solution (Python):
num = int(input())
get = num // 15

print((num * 800) - (get * 200))

Solution (Python):
n=int(input())
x=n*800
y=(n//15)*200
print(x-y)

Solution (Python):
n = int(input())
print(800*n - 200*(n//15))

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

print(n*800-n//15*200)

Solution (Python):

n = int(input())

r = int(n/15)
print(n*800-r*200)

Solution (Python):
N=int(input())
print(800*N-N//15*200)

Solution (Python):
n = int(input())
x = 800 * n
y = 200 * (n // 15)
print(x - y)

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def II(): return int(input())
def LS(): return input().split()
def S(): return input()


def main():
    n = II()
    r = n*800 - n//15*200
    return r

print(main())

Solution (Python):
n = int(input())
x = n * 800
y = (n // 15) * 200
print(x - y)

Solution (Python):
N = int(input())
print(N*800-(N//15)*200)

Solution (Python):
def main():
    N = int(input())
    print(N * 800 - N // 15 * 200)

if __name__ == '__main__':
    main()

Solution (Python):

import sys



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

    
    x = 800 * N
    y = 200 * int(N / 15)

    
    print(x-y)


if __name__ == '__main__':
    main()

Solution (Python):
i=int(input())
x=int(800*i)
y=int(200*int(i/15))
print(x-y)

Solution (Python):


x=0
y=0
n=int(raw_input().strip())
x=800*n
y=n/15*200
print x-y

Solution (Python):


N=int(input())
x=800*N
y=(N//15)*200
print(x-y)

Solution (Python):
N = int(input())
x = 800 * N
y = (N//15)*200
print(x-y)

Solution (Python):
N = int(input())
x = 800 * N
y = (N//15)*200
print(x-y)

Solution (Python):
N = int(input())
x = N * 800
y = int(N/15)*200
print (x-y)

Solution (Python):

if __name__ == '__main__':
  N = int(input())
  print(N*800 - (N//15)*200)

Solution (Python):
import sys

def solve():
    N = int(input())
    ans = 800 * N - 200 * (N // 15)
    print(ans)
    
def debug(x, table):
    for name, val in table.items():
        if x is val:
            print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)
            return None


if __name__ == '__main__':
    solve()

Solution (Python):
N = input()
print N * 800 - N / 15 * 200

Solution (Python):
N = int(input())
print((800*N) - (200*(N//15)))

Solution (Python):


x = int(input())

y = x//15
z = 800 * x - 200 * y

print("{0}".format(str(z)))

Solution (Python):
n = int(input())
x = 800*n
y = (n//15)*200
print(x-y)

Solution (Python):
x = int(raw_input())
print(x*800 - int(x/15) * 200)

Solution (Python):
n = int(raw_input())
x = n*800
y = int(n/15) * 200
print x - y

Solution (Python):
N = int(input())
print(800 * N - 200 * (N // 15))

Solution (Python):
n = int(input())
print(n*800-int(n/15)*200)

Solution (Python):
n = int(input())
money = int(n / 15) * 200
print((n * 800) - money)

Solution (Python):
n = int(input())
x = 800 * n
y = (n // 15) * 200
print(x-y)

Solution (Python):
n = int(raw_input())
print str(n*800 - (n//15)*200)

Solution (Python):
price = 800
i_ate = int(input())

ans = (price * i_ate) - (200 * (i_ate // 15))
print(ans)

Solution (Python):
N = int(input())
x = N * 800
y = (N // 15) * 200
print (x-y)

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

payback_N = N//15

print(N*800 - payback_N*200)

Solution (Python):
n = input()
ans = n*800-200*(n/15)
print ans

Solution (Python):


N=int(input())
x=800*N
y=(N//15)*200

print(x-y)

Solution (Python):



def main():
    n = int(input())
    result = n * 800
    print(result - (int(n / 15) * 200))

if __name__ == '__main__':
    main()

Solution (Python):
N = input()
x, y = 0, 0
for i in range(1,N+1):
    x += 800
    if i%15 == 0 :
        y += 200
print x-y

Solution (Python):
N = int(input())
x = 0
y = 0
for i in range(1,N+1):
    x += 800
    if (i%15 == 0):
        y += 200
print(x-y)

Solution (Python):
n = input()
print 800*n - 200*(n/15)

Solution (Python):
N = input()
x = N*800
y = N/15 *200
print x - y

Solution (Python):
import math
N = int(input())
print(800 * N - 200 * math.floor(N / 15))

Solution (Python):
N=int(input())
ans=N*800-(N-N%15)*200/15
print(int(ans))

Solution (Python):

N = input()
paid = 800*N
cashback = (N/15)*200
print(paid-cashback)

Solution (Python):
def input_parser():
    N=int(input())
    return N

N=input_parser()
bank=0
for i in range(0,N,1):
    bank+=800
    if (i+1)%15 is 0:
        bank-=200

def output_parser(bank):
    print(bank)

output_parser(bank)

Solution (Python):
N = int(input())
ans = 800 * N - (N // 15) * 200
print(ans)

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

x = 800*n

y = 200*(n//15)

print x-y

Solution (Python):
n = input()

print 800*n - 200*(int(n/15))

Solution (Python):
n = int(input())
x = n / 15
res = 800 * n - 200 * int(x)
print(res)

Solution (Python):
n = input()
print 800*n - n/15*200

Solution (Python):
print (lambda N:N*800-(N/15)*200)(int(raw_input()))

Solution (Python):
n = int(raw_input())
 
x = n * 800
y = (n / 15) * 200
 
print x-y

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

x = n * 800
y = (n / 15) * 200

print x-y

Solution (Python):
N=int(input());print(N*800-N//15*200)

Solution (Python):


n=int(raw_input())
x=800*n
y=n/15*200
res=x-y
print res

Solution (Python):
n = input()
print 800*n - n/15*200

Solution (Python):
N = int(input())
print(800 * N - 200 * int(N /15))

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

x = N * 800
y = N // 15 * 200

print(x-y)

Solution (Python):
n = int(input())
print(800 * n - 200 * (n // 15))

Solution (Python):
n=int(input())
print(800*n-200*(n//15))

Solution (Python):
a = int(input())
x = a * 800
y= (a//15)*200

print(x-y)

Solution (Python):
n=input()
print n*800-(n/15)*200

Solution (Python):
n = int(input())
x = 800 * n
y = 200 * (int(n / 15))
print(x - y)

Solution (Python):

INF=10**10

def main():
    
    n=int(input())
    print(n*800-n//15*200)
    
if __name__=="__main__":
    main()

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

print(n * 800 - (n//15) * 200)

Solution (Python):
N = int(raw_input())
print N*800 - 200*int(N/15)

Solution (Python):
N = int(raw_input())
print 800 * N - (N / 15) * 200

Solution (Python):
n=int(input())
print(n*800 - 200*(n//15))

Solution (Python):
n = int(input())
print(n * 800 - n // 15 * 200)

Solution (Python):
n=int(input());print(n*800-n//15*200)

Solution (Python):
import sys

n = int(sys.stdin.readline())

bonus = n / 15

x = 800*n
y = bonus * 200

print x - y

Solution (Python):
n=int(input())
print(n*800-n//15*200)

Solution (Python):
from sys import stdin
n = int(stdin.readline())
print n*800 - (n/15)*200

Solution (Python):
from collections import defaultdict


def main():
    n = int(input())
    print(n * 800 - 200 * (n // 15))


if __name__ == '__main__':
    main()

Solution (Python):
N=input()
x=800*N
y=N/15*200
a=x-y
print (a)

Solution (Python):
n = int(input())
print(800 *n - ( 200 * int(n / 15)))

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

x = 800 * n
y = (n // 15) * 200

print(x-y)

Solution (Python):
N = int(raw_input())

discount = N / 15

print 800*N - discount*200

Solution (Python):
n = int(input())
print(n * 800 - n // 15 * 200)

Solution (Python):
n = int(input())
x = 800*n
y = int(n/15)*200
print(x-y)

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

print(N*800 - (N // 15) * 200)

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

print(N * 800 - ((N // 15) * 200))

Solution (Python):
N=int(input())
print(800*N-int(N/15)*200)

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

a = n // 15
res = n * 800 - a * 200
print(res)

Solution (Python):
N = int(input())
print(int(800 * N - N // 15 * 200))

Solution (Python):
n = int(input())
print(800*n - (n//15)*200)

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

x = 800 * N
y = N//15 * 200

print(x-y)

Solution (Python):
import sys
N = int(raw_input())
assert(1 <= N <= 100)
x = 800*N
y = (N/15)*200
print x - y

Solution (Python):
N = int(input())
print(N*800-200*(N//15))

Solution (Python):
N = int(raw_input())
x = 800*N
y = N/15*200
print x-y

Solution (Python):
N = int(input())
x = 800*N
y = 200*int(N/15)
print(x-y)

Solution (Python):

N=int(input())
print(N*800-(N//15)*200)

Solution (Python):
N = int(input())
sum_pay = N*800
bonus_cnt = N / 15
print(sum_pay - bonus_cnt*200)

Solution (Python):
def culc():
    N = int(input())
    if 1<=N<=100:
        tmp = N//15
        x = 800 * N
        y = 200 * tmp
    return x-y

if __name__=="__main__":
    print(culc())

Solution (Python):

n = int(input())
print(n * 800 - (200 * int(n / 15)))

Solution (Python):
import math
n = int(input())
x = 800*n
i = n/15
i = math.floor(i)
y = i*200
print(x-y)

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

x=800*N
y=N//15*200

print(x-y)

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


def main(n):
    get = n // 15 * 200
    pay = n * 800
    return pay - get


ans = main(n)
print(ans)

Solution (Python):
N=int(input())
x=800*N
y=(N//15)*200
Z=x-y
print(Z)

Solution (Python):
x = 800 * int(input())
y = 200* (x//(800*15))
print(x-y)

Solution (Python):
n = int(input())
x = 800*n
y = (n // 15) * 200
print(x-y)

Solution (Python):
N = int(input())
x = N * 800
y = (N // 15) * 200
print(str(x - y))

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

x = 800 * N
y = (N // 15) * 200
print(x-y)

Solution (Python):
if __name__ == '__main__':
    N = int(input().rstrip())
    print(800 * N - 200 * (N // 15))

Solution (Python):
N = int(input())
print(800*N-200*(N//15))

Solution (Python):


import sys

def main(argv):
    for line in sys.stdin:
        n = int(line)
        x = n * 800
        y = int(n / 15) * 200
        print x - y

if __name__ == "__main__":
    main(sys.argv)

Solution (Python):

N = int(input())

x = N * 800
temp = N // 15
y = temp * 200
ans = x-y

print(ans)

Solution (Python):
n = int(input())
print(n * 800 - n // 15 * 200)

Solution (Python):
N=input()

r = N * 800 - (N/15)*200
print r

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

x = 800 * N
y = int(N / 15) * 200

print(x-y)

Solution (Python):
N = int(input())
ans = 800 * N - 200 * int(N/15)
print(ans)

Solution (Python):
n = int(input())
print(n*800 - n//15*200)

Solution (Python):
N = int(input())
     
x = N*800
y = int(N//15) * 200
     
print(x-y)

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

x = 800*num
num_15 = num // 15
y = num_15 * 200

print(x - y)

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

x = n * 800
y = (n // 15) * 200
ans = x - y
print(ans)

Solution (Python):
N = int(raw_input())
print N * 800 - (N/15) * 200

Solution (Python):
n = int(input())
print(n*800-200*(n//15))

Solution (Python):

def getLnInputs():
    return input().split()


def getLnIntInputs():
    return list(map(int, getLnInputs()))


def main():
    N = getLnIntInputs()[0]
    print(800 * N - 200 * (N // 15))
    return


main()

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

ans = 800 * n - (200 * (n // 15))
print(ans)

Solution (Python):
N = int(input())
print(N*800-(N//15)*200)

Solution (Python):
N = int(raw_input())
print N*800-N/15*200

Solution (Python):

N = int(input())
x = N*800
y = 200*(N//15)
print(x-y)

Solution (Python):
N = int(input().strip())
cost = N * 800
val = N // 15
print(cost - (val*200))

Solution (Python):


a = int(raw_input())

x = a * 800
y = (a / 15) * 200
ans = x - y
print ans

Solution (Python):


N = int(input())
x = 800 * N
y = (N // 15) * 200

print(x-y)

Solution (Python):
from sys import stdin

n = int(stdin.readline())

x = n * 800

y = (n // 15) * 200

print(x - y)

Solution (Python):

N = int(input())

x = 800 * N
y = (N//15)*200
print(x-y)

Solution (Python):
n = input()
print n*800 - 200*(n//15)

Solution (Python):
N = int(input())
dis = (N//15)*200
print(N*800-dis)

Solution (Python):
n = int(input())
print(n*800 - 200*(n//15))

Solution (Python):
N = int(input())
N_service = N // 15
x = 800 * N
y = 200 * N_service
print(x - y)

Solution (Python):
from collections import defaultdict


def main():
    n = int(input())
    print(n * 800 - 200 * ( n // 15))


if __name__ == '__main__':
    main()

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

x = n * 800
y = (n // 15) * 200
print(x - y)