N = int(input()) ans = 0 power = 1 while N > power: ans += 1 power *= 2 print(ans)