import java.util.*; public class Main { public static void main(String[] args) { int o,p,q; int a = 0, b = 0,c=0; Scanner sc = new Scanner(System.in); // int[] test = new int[100000]; // int[] test2 = new int[1000]; // String str1 = sc.next(); int t = Integer.parseInt(sc.next()); b=1; if(t==1) {} else if(t%2==1){ while(true){ b *= 2; a++; if(b>t)break; } } else{ while(true){ b *= 2; a++; if(b>=t)break; } } // String str2 = sc.next(); /* int s = Integer.parseInt(sc.next()); int t = Integer.parseInt(sc.next()); int u = Integer.parseInt(sc.next()); */ /* int d = 0;     while(true){ int v = Integer.parseInt(sc.next()); test2[d] = v ; d++; } */ /* for(int i=0;i