#include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     long long s[n][n];     for (int i = 0; i < n; i++) {       for (int j = 0; j < n; j++) {         cin >> s[i][j];       }     }     long long ans = sqrt((long long)((s[0][1] * s[0][2]) / s[1][2]));     cout << ans;     for (int i = 1; i < n; i++) {       cout <<     << s[0][i] / ans;     }     return 0;   }   