#include #include #include using namespace std; int main() { char S[11]; cin >> S; if( strcmp( S+strlen(S)-2, "ai" ) == 0 ) { strcpy( S+strlen(S)-2, "AI" ); cout << S << endl; return 0; } cout << S << "-AI" << endl; return 0; }