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