#include <iostream> using namespace std; int main() { int a,b,c,n,m; cin>>n; n=100*a+10*b+c; m=a+b+c; cout<<m; }