~/algor $ cat problems/massiv-ikkining-darajalari
Array of powers of two
Easy
1000 ms
128 MB
25%
A positive integer $n$ is given. Build and print the array of the first $n$ integer powers of $2$ ($2^{1}, 2^{2}, \dots, 2^{n}$).
Input
One positive integer $n$.
Output
One line with $n$ integers separated by spaces.
Note
$1 \le n \le 30$
Examples
Input #1
4
Output #1
2 4 8 16
Input #2
1
Output #2
2