#include<bits/stdc++.h>
using namespace std;
int main()
{
string x,y;
while(cin>>x>>y)
{
string x1,y1;
for(int i=0;i<x.size();i++)
{
if(x[i]!=',')x1+=x[i];
}
for(int i=0;i<y.size();i++)
{
if(y[i]!=',')y1+=y[i];
}
cout<<atoi(x1.c_str())+atoi(y1.c_str())<<endl;
}
return 0;
}
A+B (数中含有逗号)
