Single Bit Difference

Given two integers, find if they differ by exactly one bit.

Input Format

Two integers

Output Format

YES or NO

Sample Input

2 3

Sample Output

YES

Try Your Code

← Back to Problems List