E869120 and square1001 are about to celebrate their 16th birthday with a round cake that has been cut into 16 equal fan-shaped pieces. However, there is a specific rule that they must follow: "the same person should not take two adjacent pieces of cake."
You need to determine if both friends can take their desired number of cake pieces, A and B, respectively, while adhering to this rule.
Input Format
The first line contains an integer A (0 ≤ A ≤ 16): the number of pieces E869120 wants to take.
The second line contains an integer B (0 ≤ B ≤ 16): the number of pieces square1001 wants to take.
Output Format
Print "YES" if both E869120 and square1001 can take their desired pieces without taking adjacent ones; otherwise, print "NO".
Example
Input
text
5
6
Output
text
NO
Input
text
4
4
Output
text
YES
Input
text
0
16
Output
text
NO
Note
The total number of pieces is 16, so neither friend can take more pieces than available.
They must also ensure that their chosen pieces do not result in taking adjacent pieces, especially considering the circular arrangement of the cake.
Solution
Please implement the solution in the /app/ directory.
Important: place your implementation at /app/solution.py so the verifier can run it.