eolymp
bolt
Try our new interface for solving problems
Problems

Amount of information

Amount of information

In studying the topic "The amount of information" is often necessary to solve the equation \textbf{2^I=N} (\textbf{N} is known, \textbf{I} should find it). Seventh graders are not aware of logarithms, and therefore solve the problem this way: if the root of the whole - it is the answer. If not, then identifies the two integers closest to the root. \InputFile Natural number \textbf{N} (\textbf{N} < \textbf{1000000000}). \OutputFile Solution (see the sample output in the examples).
Time limit 1 second
Memory limit 64 MiB
Input example #1
4
Output example #1
I=2