~/algor $ cat problems/bakteriyalar-soni
Number of bacteria
Easy
1000 ms
64 MB
27%
A dish contains $a$ bacteria. Every hour each bacterium splits in two, so the number of bacteria doubles. How many bacteria will be in the dish after $n$ hours?
Input
One line with two integers: $a$ and $n$.
Output
One integer — the number of bacteria after $n$ hours.
Note
$1 \le a \le 1000$
$0 \le n \le 50$
Examples
Input #1
3 4
Output #1
48
Input #2
1 0
Output #2
1