while(1>0)println(BigInt(readLine).bitLength-1)