using namespace std; int main() { int ans; char c; while(cin>>c) { if(int(c)>=48&&int(c)<=57) { ans++; } } cout<<ans; return 0; }