import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int s = 1; int t = 0; for (int i = 0; i < n; i++) { s = s * 2; t++; if (n <= 1) { System.out.println(0); } else if (s >= n) { System.out.println(t); break; } } } }