The only line contains two integers, $$$m$$$ and $$$d$$$ ($$$1 \leq m \leq 12$$$, $$$1 \leq d \leq 31$$$).
Output "YES" or "NO" (without quotes) for each test case.
You can print each letter in any case. For example, yes, Yes, YeS will all be recognized as a positive answer.
1 1
NO
2 31
NO