package no338; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long gcd = 100; for(int i=0;i<n;i++) { gcd = gcd(gcd, sc.nextLong()); } System.out.println(100 / gcd); } public static long gcd(long a,long b) { while(b!=0) { long r = a%b; a = b; b = r; } return a; } }