package yukicorder; import java.util.Scanner; public class No_339 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; for(int i = 0; i < n; i++){ a[i] = sc.nextInt(); } int b = 100; for(int i = 0; i < n; i++){ b = GCD(b, a[i]); } System.out.println(100 / b); } static int GCD(int a,int b){ if(a < b){ return GCD(b,a); } if(b == 0){ return a; } return GCD(b,a % b); } }