#include #include #include using namespace std; #define rep(i,a,b) for(int i=a;i a; a.push_back(100); cin >> n; rep(i, 0, n) { cin >> t; a.push_back(t); } int g = gcd(a[0], a[1]); rep(i, 2, n+1) { g = gcd(max(g, a[i]), min(g, a[i])); } cout << 100/g << endl; return 0; }