#include<iostream>
using namespace std;
class Complex{
private:
int a;
public:
Complex(int a=0)
{
this->a=a;
}
Complex operator +(const Complex &c)
{
Complex t;
t.a=c.a+a;
return t;
}
void show()
{
cout<<a<<endl;
}
};
int main()
{
int a,b;
while(cin>>a>>b)
{
Complex d(a),f(b),g;
g=d+f;
g.show();
}
return 0;
}
using namespace std;
class Complex{
private:
int a;
public:
Complex(int a=0)
{
this->a=a;
}
Complex operator +(const Complex &c)
{
Complex t;
t.a=c.a+a;
return t;
}
void show()
{
cout<<a<<endl;
}
};
int main()
{
int a,b;
while(cin>>a>>b)
{
Complex d(a),f(b),g;
g=d+f;
g.show();
}
return 0;
}