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