eolymp
bolt
Try our new interface for solving problems
Problems

Degrees of two

Degrees of two

Time limit 1 second
Memory limit 128 MiB

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

Input data

One positive integer n\:(n \le 10^9).

Output data

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

Examples

Input example #1
7
Output example #1
2 4
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"