Dr. Brodnik prepared a list A=\[a_1,a_2,…,a_N] that contained N integers. No one knows what exactly these numbers represented, but it is well known that:
Dr. Hočevar decided to do his colleague a favor and normalized the list, as he thought that it represents a vector in the n-dimensional real vector space. Namely, he calculated the number d=∑_i=1Na_i2=a_12+a_22+⋯+a_N2 and replaced Dr. Brodnik's list by \[a_1/d,a_2/d,…,a_N/d]. The numbers in this normalized list were also rounded to 12 decimal places for storage. We will refer to the elements of the stored normalized list as X=\[x_1,x_2,…,x_N]. After some time, he realized that it was a mistake and he now wishes to recover the original list A. Of course, no backup of the original has been made. Since Dr. Hočevar is too busy at the moment doing more important tasks, your help will be much appreciated.
As some data was lost due to rounding, he will be happy with any reconstructed list R=\[r_1,r_2,…,r_N], such that after normalization it would differ from X by at most 10−6 in each corresponding element.
The first line of the input contains an integer N, i.e. the length of the list X. The i-th of the following N lines contains a floating-point number x_i with exactly 12 decimal places. It is guaranteed that the input is valid, i.e. it was really obtained in the described manner from a list of integers with the properties described above.
The output should contain N lines containing the reconstructed integers r_1,r_2,…,r_N in this order. You can output any acceptable solution as described above.