#include using namespace std; int A[26]; int main(){ int x=0,cnt=0; string s; bool ok=false; cin >> s; for(int i=0;i2) ok=true; } if(cnt>1||ok) cout << "Impossible" << endl; else cout << char(x+'a') << endl; return 0; }