Given a rectangular array a of size n×m and a prime number p, find two rectangular arrays, b of size K×n and c of size K×m, such that:
The first line of input contains four positive integers n, m, K, p (1≤n⋅m,K⋅n,K⋅m≤105; 2≤p≤109+7; p is prime).
The i-th of the following n lines contains m integers a_i,1,a_i,2,…,a_i,m (0≤a_i,j<p).
If there is no solution, output a line "No solution!".
Otherwise, output K lines, i-th of which contains n+m integers b_i,1,b_i,2,…,b_i,n,c_i,1,c_i,2,…,c_i,m.
If there are several possible answers, print any one of them.