#include #include #include #include #include using namespace std; #define REP(i,a,b) for(i=a;i> s; for(i = 0;s[i];i++) { if('0' <= s[i] && s[i] <= '9') sum += s[i] - '0'; } cout << sum << endl; return 0; }