n = int(input()) cou = 0 i =1 while n > i: i*=2 cou+=1 print(cou)