#include int main(void){ int i; char S[20]; scanf("%s", S); for(i = 0; S[i] != 0; i++); if(S[i-1] == 'i' && S[i-2] == 'a'){ S[i-1] = 'I'; S[i-2] = 'A'; } else{ S[i] = '-'; S[i+1] = 'A'; S[i+2] = 'I'; S[i+3] = '\0'; } printf("%s\n", S); return 0; }