def check(input): if(int(input) == 1): return 0 x = 1 while True: if (int(input) <= pow(2, x)): break x = x + 1 return x check print(check(input()))