def bumpPocket(n): bisket = 1 cnt = 0 while True: if n <= bisket: return cnt bisket *= 2 cnt += 1 want_cnt = int(input()) print(bumpPocket(want_cnt))