The program should input a natural number n from the console and find the number following n that is a power of two.
A natural number n.
The solution to the problem.
Example 1