#include #include using namespace std; int main(){ string S; int sum=0; cin>>S; for(int i=0;i='0'&&S[i]<='9') sum+=S[i]-'0'; } cout<