#include #include using namespace std; int main() { int pairs = 0; int l = 0; int only1pair=0; string answer=""; while(cin>>l) { string *input=new string[l]; for(int i =0;i>input[i]; } for(int i=0;i 2||answer!="") { answer = "NO"; } else { answer = "YES"; }; cout<