The sum of powers of two
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given two not negative integers n, m < 30, n and m are different.
Find the value of the sum 2^n
+ 2^m
using only bit operations.
Input
Two nonnegative integers n and m.
Output
Print the value of the sum 2^n
+ 2^m
.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 58%