N = int(input()) index = 0 temp = 0 while N > temp: index+=1 temp = 2 ** index print(index)