import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int gcd = 100; for (int i = 0; i < n; i++) { gcd = getGCD(gcd, sc.nextInt()); } System.out.println(100 / gcd); } static int getGCD(int x, int y) { if (x % y == 0) { return y; } else { return getGCD(y, x % y); } } }