favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

# 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.

Time limit 1 second
Memory limit 64 MiB
Input example #1
1 2

Output example #1
6