#include using namespace std; typedef long long ll; typedef vector vi; typedef vector vl; typedef complex P; typedef pair pii; #define REP(i,n) for(ll i=0;i>n; vi a(n); REP(i,n) cin>>a[i]; // sum a_i == 100 int gcd = 100; REP(i,n) gcd = __gcd(gcd,a[i]); cout<<(100/gcd)<