#include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; map S; for(int i=0; i> s; for(char c='a'; c<='z'; c++){ string t = s+c; sort(t.begin(),t.end()); S[t]++; } } for(auto [k,v] : S){ if(v == 1){cout << k << endl; return 0;} } cout << -1 << endl; }