print((function (n) for i=0,27 do if n <= 2^i then return i end end end)(io.stdin:read("*n")))