#include #define be(v) (v).begin(),(v).end() #define pb(q) push_back(q) typedef long long ll; using namespace std; const ll mod=1000000007, INF=(1LL<<60); #define doublecout(a) cout<> n >> m >> t; for(int i=0;i> a >> b; } cout << -1 << endl; return 0; }