1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include<iostream>

	int main() {
		std::ios_base::sync_with_stdio(0);
		std::cin.tie(0);
		int x;
		int n, m;
		std::cin >> x >> n;
		for (int i = 0; i < n; i++) std::cin >> m >> m;
		std::cin >> n; for (int i = 0; i < n; i++) std::cin >> m >> m;
		n = rand() % 12 + 1;
		for (int i = 0; i < n; i++) {
			if (rand() % 2 == 0)
				std::cout << '+' << " " << rand() % x + 1 << " " << rand() % x + 1 << std::endl;
			else std::cout << '-' << " " << rand() % x + 1 << " " << rand() % x + 1 << std::endl;
		}
	}