#include #include #include #include using namespace std; const int initv = 100001; int main(){ string a,b; cin >> a >> b; int n = a.size(); int m = b.size(); string s; for(int i=0;i ans; for(int i=max(n,m)-1;0<=i;i--){ int a_ = a[i]-'0'; int b_ = b[i]-'0'; int sum = a_+b_+carry; ans.push_back(sum%10); sum/=10; carry = sum%10; } if(carry) ans.push_back(carry); reverse(ans.begin(),ans.end()); for(auto x:ans) cout << x; cout << endl; }