import java.util.Scanner; public class Exercise { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double a = Math.log(n)/Math.log(2); System.out.print((int)Math.ceil(a)); } }