Problem9521--ABC221 —— A - Seismic magnitude scales

9521: ABC221 —— A - Seismic magnitude scales

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

The magnitude of an earthquake is a logarithmic scale of the energy released by the earthquake. It is known that each time the magnitude increases by $1$, the amount of energy gets multiplied by approximately $32$.  
Here, we assume that the amount of energy gets multiplied by exactly $32$ each time the magnitude increases by $1$. In this case, how many times is the amount of energy of a magnitude $A$ earthquake as much as that of a magnitude $B$ earthquake?

Input

Input is given from Standard Input in the following format:

```
$A$ $B$
```

Output

Print the answer as an integer.

Constraints

-   $3\leq B\leq A\leq 9$
-   $A$ and $B$ are integers.

Sample 1 Input

6 4

Sample 1 Output

1024
6 is 2 greater than 4, so a magnitude 6 earthquake has 32×32=1024 times as much energy as a magnitude 4 earthquake has.

Sample 2 Input

5 5

Sample 2 Output

1
Earthquakes with the same magnitude have the same amount of energy.

Source/Category