import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	} main {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] str = new String[210]; str new String[210] 210 int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        } int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
          str[i] = sc.next();
        } {
          str[i] = sc.next();
        } str[i] = sc.next() str[i] str i sc.next() sc.next sc int count = 0; count 0 boolean flag = true; flag true while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		} flag {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		} for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			} int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			} {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			} flag &= Integer.parseInt(str[i]) % 2 == 0 flag Integer.parseInt(str[i]) % 2 == 0 Integer.parseInt(str[i]) % 2 Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i 2 0 if (!flag) {
				break;
			} !flag flag {
				break;
			} break; count++ count for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			} int i = 0; int i = 0; i 0 i < num i num i++ i++ i {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			} {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			} str[i] = String.valueOf(Integer.parseInt(str[i]) / 2) str[i] str i String.valueOf(Integer.parseInt(str[i]) / 2) String.valueOf String Integer.parseInt(str[i]) / 2 Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i 2 System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] str = new String[210];
      
		int num = sc.nextInt();
      	for (int i = 0; i < num; i++) {
          str[i] = sc.next();
        }
		int count = 0;			// 操作を行った数
		boolean flag = true;	// 奇数があったらfalse

      	while (flag) {
			for (int i = 0; i < num; i++) {
				flag &= Integer.parseInt(str[i]) % 2 == 0;
			}
			if (!flag) {
				break;
			}
			count++;
			for (int i = 0; i < num; i++) {
				str[i] = String.valueOf(Integer.parseInt(str[i]) / 2);
			}
		}

		System.out.println(count);
	}
}