#include using namespace std; int main(){ int n,i; string s; cin>>s; if(s[s.size()-2]!='a'&&s[s.size()-1]!='i') cout<