import java.util.Scanner; public class Question47 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int count = 0; do { N /= 2; count++; } while (N >= 1); System.out.println(count); } }