#include<bits/stdc++.h> using namespace std; int main(){ int n,a,b,x; //const float pi=3.14; cin>>n; a=n%10; b=n/10; x=a+b; cout<<x; return 0; } /************************************************************** Problem: 1605 User: tangkaixuan Language: C++ Result: Accepted Time:7 ms Memory:2072 kb ****************************************************************/