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