n = int(input()) # 今持っている数から任意の数を選んで2倍にできる # n > n+1~2n に一回の操作でできるので、2^k >= nとなるkを見つける ans = 0 while pow(2, ans) < n: ans += 1 print(ans)