import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner s = new Scanner(System.in); int X = s.nextInt(); int num = 0; int i = 0; while(true){ num = (int)Math.pow(2 , i); if(num >= X){ System.out.println(i); break; } i++; } } }