SP2419 GLGRID - G-Line Grid

Description

The 21st century introduces the multicores. As a result a research is going on in parallel Computing. With time the number of processor would grow very large. As of now, Professor Biloo at IIIT asks a student to implement the following code on multiple G-line processors. ``` for(i=1;i

Input Format

The first line of input contains an integer t , the number of testcases. For each testcase , there is exactly one line which contains 4 space separated a,b,c and k.

Output Format

For each test case, output the corresponding k values of x, each in successive different lines.