10143: ABC100 —— A - Happy Birthday!
[Creator : ]
Description
E869120's and square1001's $16$-th birthday is coming soon.
Takahashi from AtCoder Kingdom gave them a round cake cut into $16$ equal fan-shaped pieces.
E869120 and square1001 were just about to eat $A$ and $B$ of those pieces, respectively,
when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake".
Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
E869120 和 square1001 的 16 生日快到了。
AtCoder 王国的高桥给他们送了一个圆形蛋糕,蛋糕被切成了 16 等份的扇形块。
E869120 和 square1001 正准备分别吃掉其中的 A 块和 B 块、 这时,他们发现蛋糕上附有一张纸条,上面写着 "同一个人不能吃相邻的两块蛋糕"。
这两个人都能遵守纸条上的指示,吃到所需数量的蛋糕吗?
Takahashi from AtCoder Kingdom gave them a round cake cut into $16$ equal fan-shaped pieces.
E869120 and square1001 were just about to eat $A$ and $B$ of those pieces, respectively,
when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake".
Can both of them obey the instruction in the note and take desired numbers of pieces of cake?
E869120 和 square1001 的 16 生日快到了。
AtCoder 王国的高桥给他们送了一个圆形蛋糕,蛋糕被切成了 16 等份的扇形块。
E869120 和 square1001 正准备分别吃掉其中的 A 块和 B 块、 这时,他们发现蛋糕上附有一张纸条,上面写着 "同一个人不能吃相邻的两块蛋糕"。
这两个人都能遵守纸条上的指示,吃到所需数量的蛋糕吗?
Input
Input is given from Standard Input in the following format:
```
$A$ $B$
```
```
$A$ $B$
```
Output
If both E869120 and square1001 can obey the instruction in the note and take desired numbers of pieces of cake, print `Yay!`; otherwise, print `:(`.
Constraints
- $A$ and $B$ are integers between $1$ and $16$ (inclusive).
- $A+B$ is at most $16$.
- $A+B$ is at most $16$.
Sample 1 Input
5 4
Sample 1 Output
Yay!
Both of them can take desired number of pieces as follows:
Sample 2 Input
8 8
Sample 2 Output
Yay!
Both of them can take desired number of pieces as follows:
Sample 3 Input
11 4
Sample 3 Output
:(
In this case, there is no way for them to take desired number of pieces, unfortunately.