import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner scan=new Scanner(System.in); int n=scan.nextInt(),i; scan.close(); for(i=0;n>Math.pow(2, i);i++) ; System.out.print(i); } }