N = int(input()) C = 1 c = 0 while N > C: C *= 2 c += 1 print(c)