#include <iostream>
using namespace std;
int main() {
int a,b,c;
c = 188 % 10;
b = (188 % 100 - c) / 10;
a = (188 % 1000 - (b * 10 + c)) / 100;
cout << a + b + c;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKaW50IGEsYixjOwpjID0gMTg4ICUgMTA7CmIgPSAoMTg4ICAlIDEwMCAtIGMpIC8gMTA7CmEgPSAoMTg4ICUgMTAwMCAtIChiICogMTAgKyBjKSkgLyAxMDA7CmNvdXQgPDwgYSArIGIgKyBjOwp9