#pragma GCC optimize("Ofast") #include using namespace std; using ll=long long; using datas=pair; using ddatas=pair; using tdata=pair; using vec=vector; using mat=vector; using pvec=vector; using pmat=vector; #define For(i,a,b) for(i=a;i<(ll)b;i++) #define bFor(i,a,b) for(i=a;i>=(ll)b;i--) #define rep(i,N) For(i,0,N) #define rep1(i,N) For(i,1,N) #define brep(i,N) bFor(i,N-1,0) #define all(v) (v).begin(),(v).end() #define allr(v) (v).rbegin(),(v).rend() #define vsort(v) sort(all(v)) #define vrsort(v) sort(allr(v)) #define endl "\n" #define pb push_back #define output(v) do{bool f=0;for(auto outi:v){cout<<(f?" ":"")< inline bool chmax(T& a,T b){bool x=a inline bool chmin(T& a,T b){bool x=a>b;if(x)a=b;return x;} void startupcpp(){ cin.tie(0); ios::sync_with_stdio(false); cout<>=1; } return res; } ll gcd(ll a,ll b){if(!b)return a;return (a%b==0)?b:gcd(b,a%b);} ll lcm(ll a,ll b){return a/gcd(a,b)*b;} ll countdigits(ll n){ ll ans=0; while(n){n/=10;ans++;} return ans; } ll sumdigits(ll n){ ll ans=0; while(n){ans+=n%10;n/=10;} return ans; } void judgement(int a){ if(a){ cout<<"Yes"<>N; map mp; string s,t; vector v(N*2); rep(i,N){ cin>>s>>t; mp[s]++; v[cnt++]=s; v[cnt++]=t; } rep(i,N*2){ if(!mp[v[i]]){ mp[v[i]]++; cout<