Module: Loop statement with condition - while


Problem

14 /21


binary logarithm

Problem

Given a natural number N print the smallest integer k such that \(2^k >= N.\) Raising to a power cannot be used!

Input 
Enter a natural number N.

Imprint 
Print the answer to the problem.
 

 

Examples
# Input Output
1 7 3