#include<fstream>
using namespace std;
int main()
{
    int A,B;
    ifstream fin("A+B.in");
    ofstream fout("A+B.out");
    fin>>A>>B;
    fout<<A+B;
    fin.close();
    fout.close();
    return 0;
}