while(0<1)println(BigInt(readLong).bitLength-1)