using System; class Program { static void Main() { int n = int.Parse(Console.ReadLine()); int biscuits = 1; int ans = 0; while ((biscuits *= 2) < n) { ans++; } if (biscuits / 2 == n) { Console.WriteLine(ans); } else { Console.WriteLine(ans + 1); } } }