using System; namespace OJcsharp { class Program { static void Main(string[] args) { long n,bis=1; long limit=long.Parse(Console.ReadLine()); if (limit == 1) Console.WriteLine(0); else for (n = 1; ; n++) { bis *= 2; if (limit <= bis) { Console.WriteLine(n); break; } } } } }