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