import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	}
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	} main {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Integer n = sc.nextInt(); n sc.nextInt() sc.nextInt sc List<Integer> numbers = new ArrayList<Integer>(200); numbers new ArrayList<Integer>(200) for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		} int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
			numbers.add(sc.nextInt());
		} {
			numbers.add(sc.nextInt());
		} numbers.add(sc.nextInt()) numbers.add numbers sc.nextInt() sc.nextInt sc Integer countDivide = -1; countDivide -1 1 boolean canDivide = true; canDivide true while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		} canDivide {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		} countDivide += 1 countDivide 1 for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			} {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			} Integer checkingNum = numbers.get(i); checkingNum numbers.get(i) numbers.get numbers i if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				} checkingNum % 2 == 1 checkingNum % 2 checkingNum 2 1 {
					canDivide = false;
				} canDivide = false canDivide false {
					numbers.set(i, checkingNum / 2);
				} numbers.set(i, checkingNum / 2) numbers.set numbers i checkingNum / 2 checkingNum 2 System.out.println(countDivide) System.out.println System.out System System.out countDivide String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer n = sc.nextInt();
		List<Integer> numbers = new ArrayList<Integer>(200);
		for(int i = 1; i <= n; i++) {
			numbers.add(sc.nextInt());
		}

		Integer countDivide = -1;
		boolean canDivide = true;

		while(canDivide) {
			countDivide += 1;
			for(int i = 0; i < n; i++) {
				Integer checkingNum = numbers.get(i);
				if(checkingNum % 2 == 1) {
					canDivide = false;
				} else {
					numbers.set(i, checkingNum / 2);
				}
			}
		}

		System.out.println(countDivide);
	}
}