//No.536 人工知能 #include #include using namespace std; int main() { string S; cin >> S; cout << S[S.length()-1]; if (S[S.length() - 1] == 'a'|| S[S.length() - 1] == 'A') { S[S.length() - 1] = 'A'; S += 'I'; } else S += "-AI"; cout << S; return 0; }