import java.util.Scanner; public class Test { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int n = sc.nextInt(), a = 100, b, c; for (int i = 0; i < n; i++) { b = sc.nextInt(); c = a % b; while (c > 0) { a = b; b = c; c = a % b; } a = b; if (a == 1) { break; } } System.out.println(100 / a); } }