Problem11146--ABC370 - A - Raise Both Hands

11146: ABC370 - A - Raise Both Hands

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

Takahashi decided to make takoyaki (octopus balls) and serve it to Snuke. Takahashi instructed Snuke to raise only his left hand if he wants to eat takoyaki, and only his right hand otherwise.

You are given the information about which hand Snuke is raising as two integers $L$ and $R$. He is raising his left hand if and only if $L = 1$, and raising his right hand if and only if $R = 1$. He might not follow the instructions and could raise both hands or not raise any hand at all.

If Snuke is raising only one hand, print Yes if he wants to eat takoyaki, and No if he does not. If he is raising both hands or not raising any hand, print Invalid.

Assume that if Snuke is raising only one hand, he is always following the instructions.

Input

The input is given from Standard Input in the following format:

$L$ $R$

Output

Print Yes, No, or Invalid according to the instructions in the problem statement.

Constraints

  • Each of $L$ and $R$ is $0$ or $1$.

Sample 1 Input

1 0

Sample 1 Output

Yes
Snuke wants to eat takoyaki, so he is raising only his left hand.

Sample 2 Input

1 1

Sample 2 Output

Invalid
Snuke is raising both hands.

Source/Category