#include <iostream>
#include <utility>
using namespace std;
template <typename T>
struct foo {
typedef pair<T, T> PointType;
PointType point;
};
int main() {
foo<int> myFoo;
decltype(myFoo)::PointType myBar;
myBar.first = 13;
myBar.second = 42;
cout << myBar.first << ' ' << myBar.second << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dXRpbGl0eT4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp0ZW1wbGF0ZSA8dHlwZW5hbWUgVD4Kc3RydWN0IGZvbyB7CiAgICB0eXBlZGVmIHBhaXI8VCwgVD4gUG9pbnRUeXBlOwogICAgUG9pbnRUeXBlIHBvaW50Owp9OwoKaW50IG1haW4oKSB7CiAgICBmb288aW50PiBteUZvbzsKICAgIGRlY2x0eXBlKG15Rm9vKTo6UG9pbnRUeXBlIG15QmFyOwogICAgCiAgICBteUJhci5maXJzdCA9IDEzOwogICAgbXlCYXIuc2Vjb25kID0gNDI7CiAgICAKICAgIGNvdXQgPDwgbXlCYXIuZmlyc3QgPDwgJyAnIDw8IG15QmFyLnNlY29uZCA8PCBlbmRsOwp9