Sasha grew up and went to first grade. To celebrate this event her mother bought her a multiplication table MM with nn rows and nn columns such that Mij=ai⋅ajMij=ai⋅aj where a1,…,ana1,…,an is some sequence of positive integers.
Of course, the girl decided to take it to school with her. But while she was having lunch, hooligan Grisha erased numbers on the main diagonal and threw away the array a1,…,ana1,…,an. Help Sasha restore the array!
Input
The first line contains a single integer nn (3?n?1033?n?103), the size of the table.
The next nn lines contain nn integers each. The jj-th number of the ii-th line contains the number MijMij (1≤Mij≤1091≤Mij≤109). The table has zeroes on the main diagonal, that is, Mii=0Mii=0.
Output
In a single line print nn integers, the original array a1,…,ana1,…,an (1≤ai≤1091≤ai≤109). It is guaranteed that an answer exists. If there are multiple answers, print any.