AtCoder Beginner Contest 055
翻译中…
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.
翻译中…
样例
Input #1
20
Output #1
15800
So far, Snuke has paid $16000$ yen, and the restaurant has paid back $200$ yen. Thus, the answer is $15800$.
Input #2
60
Output #2
47200
Snuke has paid $48000$ yen for $60$ meals, and the restaurant has paid back $800$ yen.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。