#### Registered Users Only

Please login to utilize this feature.

Do note that this website only supports submissions in C++.

PokeNumbers

Background

In the Pokemon world, there are special numbers called Pokenumbers. The Pokenumber of two integers x and y is the integer formed by interleaving the bits of x and y in binary such that the bits of x are in the even position and the bits of y are in the odd position.

In the problem, you will be given two integers x and y in base 10 (0 <= x, y <= 400 - 1) and you should return the Pokenumber of x and y in base 10.

For example if x = 4 and y = 5, then x = 0000000000000100 and y = 0000000000000101 in binary. Hence the Pokenumber of x and y is 00000000000000000000000000110001 in binary which is equivalent to 49.

Input

The input consists of the two integers, x and y, on the same line separated by whitespace.

Output

Output the Pokenumber of x and y.

Sample Input

4 5

Sample Output

49

Background

In the Pokemon world, there are special numbers called Pokenumbers. The Pokenumber of two integers x and y is the integer formed by interleaving the bits of x and y in binary such that the bits of x are in the even position and the bits of y are in the odd position.

In the problem, you will be given two integers x and y in base 10 (0 <= x, y <= 400 - 1) and you should return the Pokenumber of x and y in base 10.

For example if x = 4 and y = 5, then x = 0000000000000100 and y = 0000000000000101 in binary. Hence the Pokenumber of x and y is 00000000000000000000000000110001 in binary which is equivalent to 49.

Input

The input consists of the two integers, x and y, on the same line separated by whitespace.

Output

Output the Pokenumber of x and y.

Sample Input

4 5

Sample Output

49

### Tags

### Subtasks and Limits

Subtask | Score | #TC | Time | Memory | Scoring |
---|---|---|---|---|---|

1 | 0 | 1 | 1s | 32MB | Average |

2 | 100 | 3 | 1s | 32MB | Average |

### Judge Compile Command

g++ ans.cpp -o pokenumbers -Wall -static -O2 -lm -m64 -s -w -std=gnu++14 -fmax-errors=512