#include using namespace std; int main() { int t; scanf("%d", &t); while (t--) { int len, c; cin >> len >> c; printf("-1\n"); } return 0; }