#include using namespace std; int main() { int n; cin >> n; int *a = new int [n]; int *b = new int [n]; int i; for (i=0; i> a[i]; for (i=0; i> b[i]; cout << -1 << endl; return 0; }