import java.util.Scanner; public class Main { public static void main(String[] a) { System.out.println((int)Math.ceil(Math.log(new Scanner(System.in).nextDouble())/Math.log(2))); } }