#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define loop(i,a,b) for(int i=a;i pii; typedef vector vi; typedef vector vvi; typedef vector vp; typedef vector vvp; typedef vector vs; typedef vector vd; typedef vector vvd; typedef pair pip; typedef vectorvip; const double PI=acos(-1); const double EPS=1e-7; const int inf=1e8; const ll INF=1e16; int dx[4]={0,1,0,-1}; int dy[4]={1,0,-1,0}; ll gcd(ll a,ll b){ return (b==0?a:gcd(b,a%b)); } int main(){ int n; cin>>n; vi in(n); rep(i,n)cin>>in[i]; loop(i,1,n)in[0]=gcd(in[0],in[i]); cout<<100/in[0]<