# 想定解を真似 n = int(input()) count = 0 k = 1 while(k < n): k *= 2 count += 1 print(count)