#include<iostream> #include<cstring> char word[101]; using namespace std; int main() { int res=0; cin.getline(word,101); for(int i=0;i<strlen(word);i++) if(isdigit(word[i])) res++; cout<<res; return 0; }