import java.util.Scanner;

public class NickyEnMarkIntegerDivision {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		long n = scanner.nextLong();
		int c = 0;
		while (n > 1) {
			n = (n + 1) / 2;
			c++;
		}

		System.out.println(c + 1);
	}
}
