Roger has found numbers, numbered
. Roger wants to know how many digits there are in the binary representation of the product
. Help Roger find this number!
Input Specification
The first line will consist of a single integer, .
The next line will consist of space separated integers,
.
Output Specification
Print the number of digits in the binary representation of the product .
Constraints
Subtask 1 [10%]
Subtask 2 [90%]
Sample Input
5
2 2 2 2 2
Sample Output
6
Explanation of Sample Output
Let denote a decimal number and
denote a binary number.
.
Comments