#include using namespace std; int main() { string s; cin >> s; int ans = 0; for(int i=0;i 9) continue; ans += a; } cout << ans << endl; }