AtCoder Beginner Contest 206(Sponsored by Panasonic)
翻译中…
Problem Statement
翻译中…
The consumption tax rate in the Republic of AtCoder is $8$ percent.
An energy drink shop in this country sells one can of energy drink for $N$ yen (Japanese currency) without tax.
Including tax, it will be $\lfloor 1.08 \times N \rfloor$ yen, where $\lfloor x \rfloor$ denotes the greatest integer not exceeding $x$ for a real number $x$.
If this tax-included price is lower than the list price of $206$ yen, print Yay!; if it is equal to the list price, print so-so; if it is higher than the list price, print :(.
翻译中…
Constraints
翻译中…
$1 \le N \le 300$$N$is an integer.
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
N
翻译中…
Output
翻译中…
Print the answer.
翻译中…
样例
Input #1
180
Output #1
Yay!
For $N=180$, the tax-included price is $\lfloor 180 \times 1.08 \rfloor = 194$ yen, which is lower than the list price of $206$ yen.
Input #2
200
Output #2
:(
Input #3
191
Output #3
so-so
In this case, the tax-included price is exactly equal to the list price of $206$ yen.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。