BlueBook - Powers of 2

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 16M

Problem type

Write a program that reads a positive integer and then finds the smallest power of two greater than or equal to the number that was read.

Input Specification

Each test case will input a single integer number.

Output Specification

You are to output a single integer number.

Sample Input


Sample Output



There are no comments at the moment.