#include #include using namespace std; int main(){ string s; cin>>s; int y=0,e=0,a=0,h=0,ex=0; for(auto x:s){ if(x=='Y') y++; if(x=='E') e++; if(x=='A') a++; if(x=='H') h++; if(x=='!') ex++; } cout<