#include #define pb push_back #define NMAX 105 #define ll long long #define x first #define y second //#define cout fout using namespace std; ofstream fout("fisier.in"); int n,okg; string cuv[NMAX],ans; void bkt(int who, int pos) { if(pos==cuv[who].size()-1) { // watch out if(ans.size()>n; for(i=1;i<=n;++i) cin>>cuv[i]; for(i=1;i<=n;++i) { okg=1; bkt(i,-1); } if(ans.size()) cout<