import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int A = scanner.nextInt(); boolean B = false; int ans = 0; while(A/2 != 0){ if(A % 2 == 1) B = true; A = A/2; ans++; } if(B) ans++; System.out.println(ans); scanner.close(); } }