#include<bits/stdc++.h> using namespace std; int main(){ int n,k; string s; while(cin>>n && n){ vector<string> brother_words, words; string word, target_word, old_target_word; for(int i=0;i<n;i++){ cin>>word; ...