e-olymp
Competitions

Вступ_Заоч-3

Degrees of two

For a given positive integer n print all powers of two less than n in ascending order.

Input

One positive integer n (n109).

Output

Print all powers of two less than n in ascending order.

Time limit 1 second
Memory limit 128 MiB
Input example #1
7
Output example #1
2 4
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"