問題文
10 進数表記したときの桁はよく 10 で割った商と余りでとる.
signed main(){ ios_base::sync_with_stdio(0); cin.tie(0); int N; cin >> N; cout << N%10+N/10 << endl; }