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