import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scan = new Scanner(System.in)) { long N = scan.nextInt(); int ans = (int)Math.ceil(Math.log(N) / Math.log(2.0)); System.out.println(ans); } } }