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