using System;class P{static void Main(){Console.WriteLine(Math.Ceiling(Math.Log(int.Parse(Console.ReadLine()),2)));}}