n = io.read() - 0 b = 1 i = 0 while b < n do b = b * 2 i = i + 1 end print(i)