import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int b = 1; int cnt = 0; while (true) { b *= 2; cnt++; if (b >= n) { break; } } System.out.println(cnt); scan.close(); } }