def solve(): N = int(input()) top = 100 btm = 0 while top - btm > 1: mid = (top + btm) // 2 if 2**mid >= N: top = mid else: btm = mid ans = top print(ans) if __name__ == '__main__': solve()