using System; namespace No._47 { class Program { static void Main(string[] args) { double n = int.Parse(Console.ReadLine()); Console.WriteLine((int)Math.Ceiling(Math.Log(n, 2.0))); } } }