But no matter how many times he tried, he could not get it right. Now he is desperate, and he hopes you can help him by writing a program that prints, in order, the starting and ending coordinates of the lines Mel has to paint. Of course, you will need to know how Mel paints his works, so we will now reveal his secret technique. The first line of the input contains the number of test cases. Each test case consists of one line containing four non-negative integers p , q , x , and y , separated by spaces.
All triangles have a nonzero area.
The output for each test case must be followed by an empty line.