#include #include using namespace std; int main(int argc, char* argv[]) { string s; cin>>s; int sLen=s.length(); if (sLen<2){ s+="-AI"; }else{ int i=sLen-2; if (s[i]=='a' && s[i+1]=='i'){ s[i]='A'; s[i+1]='I'; }else{ s+="-AI"; } } cout<