Олимпиадный тренинг

Задача 33703. binary logarithm


Задача

Темы: Цикл while

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

Запрещенные операторы:**;pow;[