#include <bits/stdc++.h>
using namespace std;
map<int, int> mp, mp1, mp2, sum;
set<int> st[100010], h;
int a[100010], b[100010], n, cnt;
inline int rd() {
  int x = 0;
  char ch = getchar();
  for (; ch < '0' || ch > '9'; ch = getchar())
    ;
  for (; ch >= '0' && ch <= '9'; ch = getchar()) x = x * 10 + ch - '0';
  return x;
}
int main() {
  puts("-1");
  return 0;
}
