#include <iostream>
using namespace std;
class Yoba
{
public:
Yoba()
{
}
Yoba * method()
{
Yoba * ref = new Yoba();
return ref;
}
void show()
{
std::cout << "123";
}
};
int main() {
// your code goes here
Yoba y;
Yoba * r = y.method();
r->show();
delete r;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgWW9iYQp7CnB1YmxpYzoKCVlvYmEoKQoJewoJCQoJfQoJCglZb2JhICogbWV0aG9kKCkKCXsKCQlZb2JhICogcmVmID0gbmV3IFlvYmEoKTsKCQlyZXR1cm4gcmVmOwoJfQoJCgl2b2lkIHNob3coKQoJewoJCXN0ZDo6Y291dCA8PCAiMTIzIjsKCX0KCQp9OwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglZb2JhIHk7CglZb2JhICogciA9IHkubWV0aG9kKCk7CglyLT5zaG93KCk7CglkZWxldGUgcjsKCXJldHVybiAwOwp9