n = int(input()) x = 1 p = 0 while 1: if x >= n: print(p) exit() x *= 2 p += 1