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