#include <iostream>
typedef std::ostream& (*manip) (std::ostream&);
class console {
};
template <class T> console& operator<< (console& con, const T& x) { std::cout << x; return con; }
template <class T> console& operator>>(console& con, T& x) { std::cin >>x; return con; }
console& operator<< (console& con, manip manipulator){ std::cout<<manipulator; return con;}
int main() {
console c;
int a,b;
c>>a>>b;
c << "hello world"<<std::endl<<std::hex<<(a+b)<<std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdHlwZWRlZiBzdGQ6Om9zdHJlYW0mICgqbWFuaXApIChzdGQ6Om9zdHJlYW0mKTsKIApjbGFzcyBjb25zb2xlIHsKIAp9OwogCnRlbXBsYXRlIDxjbGFzcyBUPiBjb25zb2xlJiBvcGVyYXRvcjw8IChjb25zb2xlJiBjb24sIGNvbnN0IFQmIHgpIHsgc3RkOjpjb3V0IDw8IHg7IHJldHVybiBjb247IH0KdGVtcGxhdGUgPGNsYXNzIFQ+IGNvbnNvbGUmIG9wZXJhdG9yPj4oY29uc29sZSYgY29uLCAgVCYgeCkgeyBzdGQ6OmNpbiA+Png7IHJldHVybiBjb247IH0KY29uc29sZSYgb3BlcmF0b3I8PCAoY29uc29sZSYgY29uLCBtYW5pcCBtYW5pcHVsYXRvcil7IHN0ZDo6Y291dDw8bWFuaXB1bGF0b3I7IHJldHVybiBjb247fQogCmludCBtYWluKCkgewogICAgY29uc29sZSBjOwogICAgaW50IGEsYjsKICAgIGM+PmE+PmI7CiAgICBjIDw8ICJoZWxsbyB3b3JsZCI8PHN0ZDo6ZW5kbDw8c3RkOjpoZXg8PChhK2IpPDxzdGQ6OmVuZGw7Cn0=