Time

18:13:07
22 May 2012
Version for print

Degree of two

   n degrees of number 2 are written sequentially in a line, i.e. the numbers from 2 to 2n without spaces. Give the value of n.


Specifications

   Input

   In one line (1n1000) degrees of number 2 are written sequentially in a line.

   Output

   Print n.


Problem information

Time Limit: 1 seconds
Memory Limit: 64 MB
Balls for the passed test: 1
Complexity: 30% 227/322
Classes: Simple mathematics

Example

Example input

248163264128

Example output

7


← Game - 2 (RU) Problems N-unit numbers - 2 (RU) →