#include int n=-1;char c;main(){while(!std::cin.eof()){std::cin>>c;n+=(c==42);}std::cout<