#include using namespace std; int main() { int n; cin >> n; while (n--) cout << -1 << endl; }