N = int(input()) for i in range(100000): if N <= 2 **i: print(i) break