n = int(input()) c = 1 ans = 0 while c < n : c *= 2 ans += 1 print(ans)