Check the bit#5052

Check the bit

1 second
64 megabytes
Very easy

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.

Input

The input consists of two numbers: n \le 10^9, i \le 32.

Output

The output should be "YES" if the -th digit is one, and "NO" otherwise.

Examples

Example 1

Loading
Loading