You are a traveller, lost in a jungle.But you have the Map with you.And you remember the route you travelled so you will backtrack and reach the Starting point. Your task is to print the starting point.
First line consists of T test cases. Each test cases consists of 3 lines.
First line of each test case consist of two integers X,Y denoting of Your Current location.
Second line of each test case consist of an integer N denoting of number of paths you travelled.
Third line of each test case consist of 2*N spaced integers Xi,Yj denoting the points at the paths you travelled.
Print the Starting point in respective line.