// NOTE: it is recommended to use this even if you don't understand the following code. #include #include //#include using namespace std; int main() { // uncomment the following lines if you want to read/write from files // ifstream cin("input.txt"); // ofstream cout("output.txt"); int T; cin >> T; for (int ii = 0; ii < T; ii++) { string S; cin >> S; // insert your code here cout << "-1" << '\n'; // print the result } return 0; }