N = int(input()) num_biscuit = 1 num_hit = 0 while num_biscuit < N: num_biscuit *= 2 num_hit += 1 print(num_hit)