intmain() { while(1) { cin >> s; if(s == ".") break; cnt++; if(cnt == 2) A = s; elseif(cnt == 14) B = s; } if(A == "") cout << "Momo... No one is for you ..."; elseif(B == "") cout << A << " is the only one for you..."; else cout << A << " and " << B << " are inviting you to dinner..."; return0; }