#include <iostream>
#include <algorithm>
#include <set>
#include <utility>
#include <vector>
using namespace std;

int main() {
	const int NMAX = 3;                                                             
	typedef pair<int, set<int>> solution; 
	solution s;                                                                  
	s.first = -1;
	std::vector<std::vector<solution>> memo(NMAX, std::vector<solution>(NMAX, s));

	for (auto&& nextVec : memo)
	{
		for (auto&& nextPair : nextVec)
		{
			std::cout << nextPair.first << " ";
		}
		std::cout << endl;
	}

	return 0;
}