using System; using System.Collections.Generic; namespace ConsoleApp1 { class Program { static void Main(string[] args) { #if LocalDebug var exStdIn = new System.IO.StreamReader("stdin.txt"); System.Console.SetIn(exStdIn); #endif var Goal = GetData(); var Cnt = 0; var Num = 1; while(true) { if(Num >= Goal) { break; } Num *= 2; Cnt++; } Console.WriteLine(Cnt); #if LocalDebug System.Console.ReadKey(); #endif } static int GetData() { return int.Parse(Console.ReadLine()); } } }