n = int(raw_input()) d = 0 while True: if 2**d >= n: print d break d += 1