Problems
The sum of powers of two
The sum of powers of two
Given two not negative integers n, m < 30, n and m are different.
Find the value of the sum 2n
+ 2m
using only bit operations.
Input
Two nonnegative integers n and m.
Output
Print the value of the sum 2n
+ 2m
.
Input example #1
1 2
Output example #1
6