#include #include using namespace std; int main(){ string S; int r=0,l=0; cin>>S; for(int i=0;S[i]!='#';i+=5){ if(S[i+1]=='*') r++; else l++; } cout<