using System; using System.Linq; public class yukicoder{ public static void Main(){ double n = double.Parse(Console.ReadLine()); if(n % 2 != 0) { n++; } Console.WriteLine(Math.Ceiling(Math.Log(n, 2))); } }