#include #include using namespace std; int main(){ int i,n; cin >> n; string s; cin >> s; int cnt = 0; for(i=0;i=2 || cnt==0) cout << -1 << endl; else cout << s << endl; }