You are given a single integer n. Your task is to find and output a list of different powers of 2 that sum up to the given number n. The list should be in increasing order.
Input
The first line contains a single integer n (1 ≤ n ≤ ).
Output
Print the powers of 2 that sum up to n, separated by a space. The numbers should be in increasing order.