import java.util.Scanner; public class WonderPocket { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); double value = Math.log(N) / Math.log(2.0); System.out.println((int)Math.ceil(value)); } }