package yukicoder; import java.util.Scanner; import java.math.*; public class N47 { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double l = Math.log(n) / Math.log(2); if(l % 1.0 == 0){ System.out.println((int) Math.round(l)); }else{ System.out.println((int) Math.floor(l) + 1); } } }