using System; using System.Collections.Generic; class Program { static string InputPattern = "Input4"; static List GetInputList() { var WillReturn = new List(); if (InputPattern == "Input1") { WillReturn.Add("3"); } else if (InputPattern == "Input2") { WillReturn.Add("4"); } else if (InputPattern == "Input3") { WillReturn.Add("1000"); } else { string wkStr; while ((wkStr = Console.ReadLine()) != null) WillReturn.Add(wkStr); } return WillReturn; } static void Main() { List InputList = GetInputList(); long N = long.Parse(InputList[0]); long Bekijyou = 1; int Cnt = 0; while (N > Bekijyou) { Bekijyou *= 2; Cnt++; } Console.WriteLine(Cnt); } }