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