N = int(input()) x = 0 while N > 2**x: x += 1 print(x)