#include <bits/stdc++.h>
using namespace std;
const long long MOD = 998244353;
const long long INF = 1e18;
const long long MAXN = 100100;
int N, A[MAXN];
int B[MAXN], K;
multiset<long long> M;
int ans;
map<int, int> P;
int par(int x) { return (x == P[x]) ? x : P[x] = par(P[x]); }
int main() { cout << -1; }
