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