#include<bits/stdc++.h> using namespace std; int main(){ string a,b; cin>>a>>b; cout<<-1; return 0; }