#include using namespace std; typedef long long ll; ll gcd(ll x, ll y){ if(x%y == 0) return y; return gcd(y, x%y); } int main(){ int n; cin >> n; ll ans = 0; vector v(n); for(int i=0; i> v[i]; ans = gcd(ans, v[i]); } for(int i=0; i