Competitions

# Week 4: November 30 – December 6. While Loop. Part 1

# 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** (**n** ≤ `10`

).^{9}

#### Output

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

Input example #1

7

Output example #1

2 4