num = gets.to_i ans = 0 while (2**ans < num) ans += 1 end puts ans