#include <iostream>
using std::cin;
using std::cout;
int main()
{
char ch = 'x';
int a = 0, b = 0;
while( ch != '|')
{
cout << "First number: ";
cin >> a;
cout << "Second number: ";
cin >> b;
cout << a << '\t' << b << '\n';
cout << "Where to now? ";
cin >> ch;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgc3RkOjpjaW47CnVzaW5nIHN0ZDo6Y291dDsKCmludCBtYWluKCkKewogICAgY2hhciBjaCA9ICd4JzsKICAgIAogICAgaW50IGEgPSAwLCBiID0gMDsKICAgIAogICAgCiAgICB3aGlsZSggY2ggIT0gJ3wnKQogICAgewogICAgICAgIGNvdXQgPDwgIkZpcnN0IG51bWJlcjogIjsKICAgICAgICBjaW4gPj4gYTsKICAgICAgICAKICAgICAgICBjb3V0IDw8ICJTZWNvbmQgbnVtYmVyOiAiOwogICAgICAgIGNpbiA+PiBiOwogICAgICAgIAogICAgICAgIGNvdXQgPDwgYSA8PCAnXHQnIDw8IGIgPDwgJ1xuJzsKICAgICAgICAKICAgICAgICBjb3V0IDw8ICJXaGVyZSB0byBub3c/ICI7CiAgICAgICAgY2luID4+IGNoOwogICAgICAgIAogICAgfQogICAgcmV0dXJuIDA7Cn0=