N=int(input()) B=1 for i in range(20): B = B*2 if B >= N: break print(i+1)