#include <iostream>
int ReadNumber()
{
using namespace std;
cout << "Enter a number: ";
int x;
cin >> x;
return x;
}
void WriteAnswer(int x)
{
using namespace std;
cout << "The answer is " << x << endl;
}
int main()
{
int x = ReadNumber();
int y = ReadNumber();
WriteAnswer(x+y);
return 0;
}
ICNpbmNsdWRlIDxpb3N0cmVhbT4KaW50IFJlYWROdW1iZXIoKQp7CiAgICB1c2luZyBuYW1lc3BhY2Ugc3RkOwogICAgY291dCA8PCAiRW50ZXIgYSBudW1iZXI6ICI7CiAgICBpbnQgeDsKICAgIGNpbiA+PiB4OwogICAgcmV0dXJuIHg7Cn0KIAp2b2lkIFdyaXRlQW5zd2VyKGludCB4KQp7CiAgICB1c2luZyBuYW1lc3BhY2Ugc3RkOwogICAgY291dCA8PCAiVGhlIGFuc3dlciBpcyAiIDw8IHggPDwgZW5kbDsKfQogCmludCBtYWluKCkKewogICAgaW50IHggPSBSZWFkTnVtYmVyKCk7CiAgICBpbnQgeSA9IFJlYWROdW1iZXIoKTsKICAgIFdyaXRlQW5zd2VyKHgreSk7CiAgICByZXR1cm4gMDsKfQ==