using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()) - 1; int i; for (i = 0; ; i++) { if (n <= 0) break; n >>= 1; } Console.WriteLine(i); Console.ReadLine(); } } }