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())
m = N//15
print(800*N - 200*m)

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

Solution (Python):


N = int(input())

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

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())
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//15
print(800*N-200*X)

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

Solution (Python):
import sys
sys.setrecursionlimit(10**7)
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return sys.stdin.readline().strip()
INF = 10 ** 18
MOD = 10 ** 9 + 7

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


main()

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

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):
def resolve():
    n=int(input())
    print(n*800-200*(n//15))

resolve()

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):
a=int(input())
print(800*a-a//15*200)

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

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

dc200 = n // 15

res = n * 800 - dc200 * 200

print(res)

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

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 = (N//15)*200

print(x-y)

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

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

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

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

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

a = n//15

print(800*n - 200*a)

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

Solution (Python):

import sys
INF = float("inf")


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


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)


if __name__ == '__main__':
    main()

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

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

gain = N // 15

print(N * 800 - gain * 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):
n = int(input())
print(800 * n - n // 15 * 200)

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

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

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

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

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):
a = int(input())

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

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

price = n*800 - 200*(n//15)

print(int(price))

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

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

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

Solution (Python):

N = int(input())

y = (N//15)*200
print(800*N - 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(x-y)

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-n//15*200)

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((800*n)-200*(n//15))

Solution (Python):
""" abc055_a """

import sys

H = pow(10, 9) + 7

def _main():
    _n = int(sys.stdin.readline())

    _x = 800 * _n
    _y = int(_n/15) * 200

    print(_x - _y)

if __name__ == '__main__':
    _main()

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-200*(N//15))

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 (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):
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(n*800-(n//15)*200)

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

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

Solution (Python):

N = int(input())

A = N // 15

Ans = N * 800 - A * 200
print(Ans)

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

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

Solution (Python):
n = int(input())
a = n // 15

print(n*800 - a*200)

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

Solution (Python):
a=int(input())
print(800*a-200*(a//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):
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())
x=800*n
y=(n-n%15)/15*200
print(int(x-y))

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

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

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

Solution (Python):
import sys
input = sys.stdin.readline

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

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

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(800 * n - 200 * (n // 15))

Solution (Python):
N = int(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):
n = int(input())
print(n*800-(n//15)*200)

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

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

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

give = n * 800
take = n // 15 * 200

print(give - take)

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

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

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

print(x - y)

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

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


main()

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):
A = int(input())
print(A*800-200*(A//15))

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

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

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

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

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

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

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

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(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 - 200 * (n // 15))

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

Solution (Python):

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






if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())
n = N // 15

print(N * 800 - n * 200)

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

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())
x=n*800
y=((n-n%15)/15)*200
print(int(x-y))

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

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

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

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

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

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

print(ans)

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 - (n//15)*200)

Solution (Python):
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))

sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

N = INT()

c = N // 15

a = N * 800 - c * 200

print(a)

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

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

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

Solution (Python):
import sys
pagos=0
lines = sys.stdin.readlines()
for linea in lines:
    c = linea.split()
    c = list(map(int,c))
list(c)
p = c[0]
x = c[0]*800
for k in range(1,(p+1)):
  if k%15 ==0:
    pagos+=200
total = x-pagos
print(total)

Solution (Python):
n=int(input())
can=n*800
p=n
des=200
if n<15:
  total=can
elif n>=15 and n<30:
  total=can-200
elif n>=30 and n<45:
  total=can-400
elif n>=45 and n<60:
  total=can-600
elif n>=60 and n<75:
  total=can-800
elif n>=75 and n<90:
  total=can-1000
elif n>=90 and n<=100:
  total=can-1200
print(total)

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

if __name__ == '__main__':
    main()

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

import sys
sys.setrecursionlimit(300000)


def solve(N: int):
    ret = 800 * N - (N // 15) * 200
    print(ret)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)

if __name__ == '__main__':
    main()

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):
a = int(input())
print(a * 800 - a // 15 * 200)

Solution (Python):



n = int(input())

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

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

Solution (Python):




import math
import statistics

n = int(input())
p = 600 * (n // 15) + 800 * (n - n // 15)
print(p)

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

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

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

y = int(N // 15)

ans = (N * 800) - (y * 200)

print(ans)

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())
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())
x = 800*n
y = 200*(n//15)
print(x-y)

Solution (Python):


n = int(input())



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

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

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

print(x - y)

Solution (Python):



N = int(input())


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

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

a = 800
c = int(n / 15)

for i in range(c + 1):
    b = 200*i

x = a * n
y = b
print(x - y)

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

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

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

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

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

Solution (Python):
N = int(input())
print(N * 800 - int(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 math
N = int(input())
print((N*800)-(math.floor((N/15))*200))

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

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

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())
x = 800*n
y = (n//15)*200
print(x-y)

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

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

Solution (Python):
n = int(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(800*N-(N//15)*200)

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

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

print(x-y)

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

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

Solution (Python):
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

N = n()
print(800 * N - 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())
print(800*n-200*(n//15))

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

m = 0

for i in range(1, 1000):
    m += 800
    if i % 15 == 0:
        m -= 200
    
    if i == a:
        break

print(m)

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(800*n-200*(n//15))

Solution (Python):



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

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

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

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

Solution (Python):
N = int(input())
x = N // 15
print(N * 800 - x * 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(n * 800 - ((n // 15) * 200))

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



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

print(result)

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

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

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


abc()

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

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

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())
x = 800*n
y = 200 * (n//15)
print(x-y)

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

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

Solution (Python):


n = int(input())

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

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

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

Solution (Python):
N = int(input())
print("{0}".format(N * 800 - int(N / 15) * 200))

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

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

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

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

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

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

Solution (Python):

"""
A - Restaurant
https://atcoder.jp/contests/abc055/tasks/abc055_a

"""
import sys


def solve(N):
    return N*800 - (N//15*200)


def main(args):
    N = int(input())
    ans = solve(N)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

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-n//15*200)

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())
fee = 0
back = 0
fee = N * 800
back = N // 15 * 200

print(fee-back)

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

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

Solution (Python):

import sys
def input(): return sys.stdin.readline().rstrip()
def mi(): return map(int, input().split())


N = int(input())

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

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

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

Solution (Python):
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    n = f()[0]
    print(n*800 - n//15 * 200)

solve()

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

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

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

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

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

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

Solution (Python):

import copy
import random
import bisect 
import fractions 
import math
import sys

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

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

print(x-y)

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

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

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(800*n-200*(int(n/15)))

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(800 * N - 200*(N//15))

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

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

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

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

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

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

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

Solution (Python):
import math


nums=int(input())

cost=800*nums

save=200*(math.floor(nums/15))

print(cost-save)

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

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())
print(800*n-200*(n//15))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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())
ret = (n * 800) - (n // 15) * 200
print(ret)

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

Solution (Python):
n = int(input())
a = n//15
print(800*n-a*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())
print(N*800-(N//15)*200)

Solution (Python):
N = int(input())
m = N // 15
print((N*800) - (m * 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())
print(n*800-int(n/15)*200)

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

Solution (Python):
a=int(input());print(800*a-a//15*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):
n = int(input())
print(800*n-(n//15)*200)

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

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

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

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

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

amount = 0
c_back = 0

amount = N*800
c_back = int(N/15)*200

print(amount - c_back)

Solution (Python):
N=int(input())
print(800*N-(200*int((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())

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

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

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

k=n//15

print(int(800*n-200*k))

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

Solution (Python):

def read_input():
    x = int(input())
    return x

def submit():
    x = read_input()

    bonus = x // 15
    print(x * 800 - bonus * 200)


if __name__ == '__main__':
    submit()

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

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

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

print(a * 800 - 200 * (a // 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())

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

print(ans)

Solution (Python):
z=int(input())
print(z*800-(z//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):
a=int(input())
print(a*800-a//15*200)

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

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

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

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

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

Solution (Python):
a = int(input())
print(800*a-200*(a//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 functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


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


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


a= inp()
print(800*a -(a//15)*200)

Solution (Python):
import math
n = int(input())
y = (n-n%15)/15if n >= 15 else 0
print(math.floor(800*n - y*200))

Solution (Python):
n = int(input())
a = n // 15
print(n*800 - a*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())

sum = 0

a = n//15

sum = 800 * n - 200 * a

print(sum)

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 = N * 800
y = N // 15 * 200
print(x - y)

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

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

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

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

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

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):
x=int(input())
print(x*800-(x//15)*200)

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

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

Solution (Python):
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    n = f()[0]
    print(n*800 - n//15 * 200)

solve()

Solution (Python):
n = int(input())
x =n*800
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())
print(N * 800 - (N // 15) * 200)

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

Solution (Python):
import sys

def main():
    input = sys.stdin.readline
    N = int(input())

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

    return x - y


if __name__ == '__main__':
    print(main())

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

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

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

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

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

Solution (Python):
from functools import reduce
import math

def main():
    
    
    
    
    
    
    
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

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

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

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):
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 - 200 * (n//15))

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


x =int(input())

ans1 = 800*x

z = x//15

ans2 = ans1-(z*200) 

print(ans2)

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

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

Solution (Python):
N = int(input())
wari = N //15

goukei = N*800 - wari*200
print(goukei)

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

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

Solution (Python):
N = int(input())
count = 0
morta = 0


for i in range(N):
    count+=800
    if (i+1)%15==0:
        morta += 200

print(count-morta)