import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; import java.util.List; import java.util.Arrays; import java.util.ArrayList; import java.util.Deque; import java.util.ArrayDeque; import java.util.Collections; public class Main { public static void main(String[] args) { FS reader = new FS(); // write reader int N = reader.nextInt(); int a = 0; while(true) { if (Math.pow(2, a) >= N) { System.out.println(a); break; } a++; } } public static void output2DArray(boolean[][] a, int r) { for (int x=0; x