using System;
using System.Numerics;
public class HelloWorld
{
public static void Main(string[] args)
BigInteger myBigInteger = new BigInteger(32);
// Get the Log2
BigInteger myLog2 = myBigInteger.GetBitLength()-1;
// Display
Console.WriteLine (myLog2);
}