Given a natural number .
Your task is to determine if the -th digit from the right in its binary representation is a one. Bits are counted starting from one.
The input consists of two numbers: n \le 10^9, i \le 32.
The output should be "YES" if the -th digit is one, and "NO" otherwise.
Example 1