N = int(input()) counter = 0 bis = 1 while N > bis: bis *= 2 counter += 1 print(counter)