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.



Sample input:
20


Sample output:
15800

Submission status: Wrong Answer

Solution code:
N = int(input())
power = 1
for i in range(N):
  power = (power*(i+1)) % (10**9+7)
print(power)

Submission status: Wrong Answer

Solution code:
n=int(input())
print(n*800-40*n//3)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=int(input())
ans=1
for i in range(1,n+1):
  ans=ans*i
print(ans%(10**9+7))

Submission status: Wrong Answer

Solution code:
N = int(input())
x = N * 800
if N >= 15:
  y = N / 15 * 200
else:
  y = 0
print(x - y)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
print(x*800-x//12000*200)

Submission status: Wrong Answer

Solution code:
x=int(input())
print(x-(x//12000)*200)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

power = 1
mod = 10 ** 9 + 7

for i in range(1, N + 1):
    power *= (i * power) % mod
print(power)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

power = 1
for i in range(1,n+1):
    power = power * i

print(power%(7+10**9))

Submission status: Wrong Answer

Solution code:
n = int(input())
sub = n // 15
print(n*800 - sub)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=int(input())
print(n*80-200*(n//15))

Submission status: Wrong Answer

Solution code:
# coding: utf-8
n = int(input())
print(n * 800 - 200 * n // 15)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
print(math.factorial(int(input()))%(7+10**9))

Submission status: Wrong Answer

Solution code:
print(int(input())*(2440//3))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
print(N * 800 - (N % 15) * 200)

Submission status: Wrong Answer

Solution code:
N = int(input())
cashback = N % 15
print(N*800-cashback*200)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
print(n * 800 + (n % 15) * 200)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
N = int(input())
M = N * 800
L = int(N / 15)
print("{}".format(M - L))

Submission status: Wrong Answer

Solution code:
n = int(input())
p, d =1, 10**9+7
for i in range(1,n+1):
  p = (p*i) % d
print(p)

Submission status: Wrong Answer

Solution code:
from math import factorial
n = int(input())
print(factorial(n)%1000000007)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
lunch = 0
count = 0
for i in range(1, N+1):
    lunch += 800
    count += 1
    if count == 15:
        lunch -= 200
        count += 1
print(lunch)

Submission status: Wrong Answer

Solution code:
n=int(input())
print(800*n-50*(n//15))

Submission status: Wrong Answer

Solution code:
a=int(input())
total=0
for i in range(a):
    total+=800
    if i-1%15==0:
        total-=200

print(total)

Submission status: Wrong Answer

Solution code:
a=int(input())
total=0
for i in range(a):
    total+=800
    if i%15==0:
        total-=200

print(total)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
mod = 1000000007

n = int(input())
factorial_previous = 1

for i in range(1,n+1):
    factorial = (i*factorial_previous)%mod
    factorial_previous = factorial
print(factorial)

Submission status: Wrong Answer

Solution code:
n = int(input())
print((n * 800) - ((n // 15) * 200) if n >= 20 else n * 800)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import factorial
print(factorial(int(input()))%(10**9+7))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

x = 800*N

y = N // 15

print(x-y)

Submission status: Wrong Answer

Solution code:
n = int(input())
print(800 * n - int(20 / n) * 200)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#55b
n = int(input())
p=1

for i in range(1,n+1):
    p = i*p%(10**9+7)

print(p)

Submission status: Wrong Answer

Solution code:
N = int(input())
ans = 1
mod = (10 ** 9 + 7)
for i in range(1,N + 1):
    ans *=  i 
ans %= mod
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

print(x-y)

Submission status: Wrong Answer

Solution code:
from math import floor

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

Submission status: Wrong Answer

Solution code:
n = int(input())
answer = 1
for i in range(1,n+1):
	answer = (answer*i)%(10**9+7)
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())
x=N*800-200*(N//15)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
print(math.factorial(x) % (10**9 + 7))

Submission status: Wrong Answer

Solution code:
a = int(input())
i = 1
q = 1
for a in range(a):
 i = i*q
 q = q+1
w = i%(10**9+7)
print(w)

Submission status: Wrong Answer

Solution code:
a = int(input())
t = 1
for i in range(1,a+1):
 print((t*a)%(10**9+7))

Submission status: Wrong Answer

Solution code:
a = int(input())
t = 1
q = 1
for i in range(1,a+1):
 t = t*q
 a = a+1
 q = q+1
w = t%(10**9+7)
print(w)

Submission status: Wrong Answer

Solution code:
a = int(input())
i = 1
q = 1
for a in range(1,a+1):
 i = i*q
 a = a+1
 q = q+1
print(i%(10**9+7))

Submission status: Wrong Answer

Solution code:
a = int(input())
b = int(a/5)
print(800*a-200*b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
N=int(input())
power=math.factorial(N)
v=10**9+7
answer=power%v
print(answer)

Submission status: Wrong Answer

Solution code:
a = input()
a = int(a[0])

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

print(x-y)

Submission status: Wrong Answer

Solution code:
num=int(input())
x=800*num
y=int(num/15)
s=int(x-y)
print(s)

Submission status: Wrong Answer

Solution code:
num=int(input())
x=800*num
y=int(num/15)
s=x-y
print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import factorial
N = int(input())
P = factorial(N)
print(P%(10**9+7))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
# sys.setrecursionlimit(10000)


def main():
    # 入力処理
    N = int(input())

    # アルゴリズム本体
    y = math.factorial(N) % (10**9+7)

    # 出力
    print(y)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python

n=int(raw_input().strip())

power=1
for i in range(1,n+1):
    power=power*i

print power%(10**9+7)

Submission status: Wrong Answer

Solution code:
print(int(raw_input())*(800 - 200/15))

Submission status: Wrong Answer

Solution code:
N = int(input())
print(800 * N - 200 * (N % 15))

Submission status: Wrong Answer

Solution code:
N = int(input())
print(800 * N + 200 * (N % 15))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(raw_input())
r = 1.0
for i in range(1,n+1):
    r = r * i
    if r > 1.0e+9 + 7:
        r = (r % (1.0e+9+7))
        #r -= ri * (10.0e+9+7)

print str(int(r))

Submission status: Wrong Answer

Solution code:
input_len = int(input())
ans = 1
for i in range(1, input_len+1):
    ans = (i * ans) % (10 ** 9 + 7)

print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
n = input()
ans = 1
for i in range(1,n+1):
    ans *= i
    ans %= 1000000007
print ans

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
p = 1
for i in range(1,N+1):
    p *= i 

print(p % (10**9 +7))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

n = int(raw_input())

print '{:d}'.format(math.factorial(n) % int(math.pow(10,9) + 7))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

total = 1

for i in range(N):
	total = (total * (i+1)) % (10**9 + 7)

print (total)

Submission status: Wrong Answer

Solution code:
N = int(input())

total = 1

for i in range(N):
	total = (total * (i+1)) % (10**9 + 7)


print (total)

Submission status: Wrong Answer

Solution code:
N = int(input())

total = 1

for i in range(N):
	total = (total * (i+1)) / (10**9 + 7)


print (total)

Submission status: Wrong Answer

Solution code:
N = int(input())

total = 1

for i in range(N):
	total = total * (i+1)

ans = total % (10^9+7)

print (ans)

Submission status: Wrong Answer

Solution code:
N = int(input())

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

print(y)
print(x-y)

Submission status: Wrong Answer

Solution code:
N = int(input())

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

print(x-y)

Submission status: Wrong Answer

Solution code:
N = int(input())

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

print(x-y)

Submission status: Wrong Answer

Solution code:
import sys
import math

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

power = math.factorial(n)

print(power % (int(1e+9) + 7))

Submission status: Wrong Answer

Solution code:
n = int(input())
import sys
sys.setrecursionlimit(10000000)
def fa(n, memo=dict()):
	if n==0 or n == 1:
		return 1
	elif n in memo.keys():
		return memo[n]
	else:
		temp = fa(n-1)*n %int(10**9+7)
		memo[n] = temp
		return temp

print(fa(n))

Submission status: Wrong Answer

Solution code:
N = int(input())
def sunuke_f2(n):
    power = 1
    for i in range(1, n+1, 1):
        power *= i
        i += 1
    return(power % (10 ** 9 + 7))
print(sunuke_f2(N))

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
print(math.factorial(n))

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
print(math.factorial(n) / (pow(10, 9) + 7))

Submission status: Wrong Answer

Solution code:
# 整数の入力
N = int(input())
# 計算1
p = 1

for num in range(1,N+1):
    p = p * num
    
# 計算2
temp = 10**9 + 7
ans = p % temp

# 出力
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def sunuke_f(N) :
  x = N * 800
  y = N // 15 * 200
  return(x-y)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

print(x-y)

Submission status: Wrong Answer

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
eat = int(input())
pay = 0
discount = 0
count = 0

for i in range(eat):
    pay += 800
    count += 1

    if count % 15 == 0:
        discount += 200


print(pay - discount)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

num=int(input())
quo=num//15

x=800*num
y=200*quo

print(x-y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
n=int(input())
x=800*n
y=n//15*200
print(x-y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())

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

print(x-y)

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

count = 0
y = 0
x = 0
while count != N:
    count += 1
    if count % 15 == 0:
        y += 200
    x += 800

print(x - y)

Submission status: Accepted

Solution code:
N = int(input())

bonus = 0
pay = 0

for i in range(1,N+1):
    if i % 15 == 0:
        bonus += 200
    
    pay += 800
    
sum = pay - bonus

print(sum)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

if n >= 15:
    x = n * 800
    y = ( n // 15 ) * 200
    print(x - y)
else:
    print(n * 800)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
number = int(input())

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

answer = x - y

print(answer)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    n = i_input()

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def main():
    n = int(input())

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

    print(x - y)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

N=int(input())

x=800*N
y=(math.floor(N/15))*200

print(x-y)

Submission status: Accepted

Solution code:
N = int(input())

# そのまま実装するだけ
print(N*800 - (N//15)*200)

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

x = 800 * n     # 払った金額

# レストランからもらう金額
y = 0
if n >= 15:
    y = 200 * (n//15)

# 払った金額 - レストランからもらうお金
ans = x - y
print(ans)

Submission status: Accepted

Solution code:
# A - Restaurant

N = int(input())

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

answer = x - y

print(answer)

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
import math

N = int(input())

x = N * 800

y = math.floor((N /15)) * 200

print(x-y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
# 全て1食800円のレストラン
# 15食食べるごとにその場で200円もらえる
# 合計N食たべた。払った金額=x円、もらった金額をy円としてx-yを求める

# 入力されたNを数値に変換
N = int(input())

# 払った金額=x円を求める
x = 800 * N

# もらった金額=y円を求める
# 200円 * 回数Nを15で割った時の整数の商
y = 200 * (N // 15)

print(x-y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_num = int(input())
X = input_num * 800
Y = int(input_num / 15) * 200
result = X - Y

print(result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

print(x-y)

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

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

print(x - y)

Submission status: Accepted

Solution code:
input_num = int(input())

# x - y （円）を計算し出力する。
x = input_num * 800 # x：今までに払った金額
y = int(input_num / 15) * 200  # y：レストランからもらった金額
result = x - y  # 差額

print(result)

Submission status: Accepted

Solution code:
N = int(input())

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

print(x - y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int( input() )
x = int( 800 * N )

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

Submission status: Accepted

Solution code:
# １食８００円をN食食べた
N = int( input() )
x = int( 800 * N )

#  １５食食べるごとに２００円もらえる

y = N // 15 * 200

print( x - y )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Restaurant 
def main():
    n = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
# すぬけくんはレストランに通うのが好きです。
# すぬけくん行きつけのレストランは何を食べても1食 800円で、15食食べる毎にその場で 200円もらえます。
# すぬけくんは今までで合計 N食食べました。 今までに払った金額をx円、レストランからもらった金額を y円として、x−yを求めなさい。

N = int(input())

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

Submission status: Accepted

Solution code:
eat_N = int(input())

x = eat_N * 800

y = (eat_N // 15) * 200

print( x - y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

x = 800 * N

y = (N // 15) * 200

print(x - y)

Submission status: Accepted

Solution code:
#055A

#1.入力をちゃんと受け取ること
x=input()
syoku=int(x)

#2.結果を出力する
gokei=syoku*800

if syoku // 15  != 0 :
    print(gokei-200*(syoku//15))
else :
    print(gokei)

Submission status: Accepted

Solution code:
N = int(input())

x = N * 800

y = ( N // 15 ) * 200

totle = x - y

print(totle)

Submission status: Accepted

Solution code:
N = int (input())

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

print(x - y)

Submission status: Accepted

Solution code:
N = int(input())

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

answer = x - y
# print(x, y)
print(answer)

Submission status: Accepted

Solution code:
# A,Restaurnat
# すぬけくんはレストランに通うのが好きです。
# すぬけくんの行きつけのレストランは何を食べても1食800円で、15食食べる毎にその場で200円もらえます。
# すぬけくんは今まで合計N食食べました。今までに払った金額をｘ円、レストランにもらった金額をｙとして、x - yを求めなさい。
# 1 <= N <= 100

# N = 食数

N = int(input())

# x:今までに支払った金額
x = 800 * N
# print(x)

# y:レストランにもらった金額
y = int((N // 15) * 200)

answer = int(x - y)
print(answer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 055A

# N食(数値）：標準入力
N = int(input())

# 今までに払った金額：x円
x = 800 * N

# 15食ごとに貰える金額：y円
# // → 切り捨て除算小数点部分を省いて整数部分だけ返す（）
y = N // 15 * 200

print(x - y)

Submission status: Accepted

Solution code:
# 定義 1 <= N <= 100

N = int(input())

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

payment = x - y
print(payment)

Submission status: Accepted

Solution code:
#
# abc055 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """20"""
        output = """15800"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """60"""
        output = """47200"""
        self.assertIO(input, output)


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

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


if __name__ == "__main__":
    # unittest.main()
    resolve()

Submission status: Accepted

Solution code:
N = int(input())

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

print(x - y)

Submission status: Accepted

Solution code:
N = int(input())

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

print(x-y)

Submission status: Accepted

Solution code:

N=input()
1<=int(N)<=100

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

x=800*int(N)

print(int(x)-int(y))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

# 1食 800 円で、15食食べる毎にその場で200 円値引き。
# 合計 N 食
# 今までに払った金額を x 円、レストランからもらった金額を y 円として、
# x−y を求めなさい。
x = 800 * N
y = N // 15 * 200

print(x - y)

Submission status: Accepted

Solution code:
N = int(input())

x = N * 800

y = ( N // 15 ) * 200

print( x - y )

Submission status: Accepted

Solution code:
N = int(input())

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

print(x - y)

Submission status: Accepted

Solution code:
N = int(input())

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

print(x - y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=int(input())

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

print(n)

Submission status: Accepted

Solution code:
N = int(input())

x = 800 * N

y = (N // 15) * 200

print(x - y)

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()


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


print(x-y)

Submission status: Accepted

Solution code:
N = int(input())

back = 0

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

back = x - y
print(back)

Submission status: Accepted

Solution code:
N = int(input())

x = int(800 * N)

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

print(x - y)

Submission status: Accepted

Solution code:
N = int(input())
x = 800*N
a = N//15
if a != 0:
    y = 200*a
else:
    y = 0
print(x - y)

Submission status: Accepted

Solution code:
N = int(input())

x = N * 800

y = N // 15 * 200

print(x - y)

Submission status: Accepted

Solution code:
# N = 食数
# x = 今までに払った金額
# y = 値引きされた金額

N = int (input ())

x = int(800 * N)

# （気付き）int を付けない場合→小数点以下も表示される
y = int(N / 15)* 200

print( x - y )

Submission status: Accepted

Solution code:
eat = int(input())

getmoney = eat // 15

print(eat * 800 + (getmoney * -200))

Submission status: Accepted

Solution code:
N = int( input() )
x = int( 800 * N )

#  １５食食べるごとに２００円もらえる

y = int( N / 15 ) *200

print( x - y )

Submission status: Accepted

Solution code:
#すぬけくんが行くレストランは何を食べても 1食 800円
#15食食べる毎にその場で 200円もらえます。
#すぬけくんは今までで合計 N 食、食べました。
#今までに払った金額を x 円
#レストランからもらった金額を y 円
# x−y を求めなさい。

# 標準入力から食事回数（N）を取得する
input_num = int(input())

# x - y （円）を計算し出力する。
# x：今までに払った金額
x = input_num * 800

# y：レストランからもらった金額
y = int(input_num / 15) * 200

# 差額
result = x - y

print(result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

print(x-y)

Submission status: Accepted

Solution code:
n = int(input())

x = 800 * n

y = n // 15 * 200

print(x-y)

Submission status: Accepted

Solution code:
N = int(input())

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

print(x - y)

Submission status: Accepted

Solution code:
# A - Restaurant
# https://atcoder.jp/contests/abc055/tasks/abc055_a

N = int(input())

result = 0

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

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

cnt = int(input())
# 定職を食べた回数　マイナス　回数を15で割り　２００円をもらった回数 割り算//
print(cnt*800 - (cnt//15)*200)

Submission status: Accepted

Solution code:
N = int(input())

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

print(x - y)

Submission status: Accepted

Solution code:
# 入力
N = int(input())

# 処理
x = N * 800
y = (N // 15) * 200

# 出力
print(x -y)

Submission status: Accepted

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