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