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