#include #include using namespace std; using namespace atcoder; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll inf=144494; ll mod=1000000007; int main(){ ll n; cin >> n; mapmemo; for (ll i = 0; i < n; i++) { string s; cin >> s; memo[s]+=1; } string s; for (ll i = 0; i < n; i++) { s.push_back('a'); } vectortwo(50,1); for (ll i = 1; i < 50; i++) { two[i]=two[i-1]*2; } for (ll i = 0; i >=0; i++) { string t=s; for (ll j = 0; j < 50; j++) { if (i&two[j]) { t[j]='b'; } } if (memo[t]==0) { cout << t << endl; return 0; } } }