#include #include using namespace std; using ll = long long; int main() { char s[14]; int len; scanf("%s", s); for (len = 0; s[len] != 0; len++); if (s[len - 2] == 'a' && s[len - 1] == 'i') s[len - 2] = 'A', s[len - 1] = 'I'; else s[len] = '-', s[len + 1] = 'A', s[len + 2] = 'I', s[len + 3] = 0; printf("%s\n", s); }