N = int(input()) biscuit = 1 cnt = 0 while 1: if biscuit >= N: print(cnt) break biscuit *= 2 cnt += 1