#include <iostream>
#include <cmath>

typedef long long LL;
typedef unsigned long long ULL;
typedef __int128 LLL;
typedef unsigned __int128 ULLL;

using namespace std;

int main()
{
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	
	int t;
	cin >> t;
	
	while (t--)
	{
		LL n, m, x, y;
		cin >> n >> m >> x >> y;
	}
}