#include typedef long long ll; ll gcd(ll a, ll b) {return b ? gcd(b, a % b) : a;} int main() { int n, i; scanf("%d", &n); ll arr[n]; for (i=0; i