#include<stdio.h>
#include<set>
using namespace std;
struct aba;
struct caba
{
aba *m;
int z;
bool operator >(const caba &other);
};
set <caba> t;
struct aba
{
int x,y;
bool f()
{
return !t.empty();
}
};
bool caba::operator >(const caba &other)
{
if(m==NULL||other.m==NULL)
return true;
return (*m).x>(*(other.m)).x;
}
int main()
{
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpzdHJ1Y3QgYWJhOwpzdHJ1Y3QgY2FiYQp7CiAgICBhYmEgKm07CiAgICBpbnQgejsKICAgIGJvb2wgb3BlcmF0b3IgPihjb25zdCBjYWJhICZvdGhlcik7CiAgICAKfTsKc2V0IDxjYWJhPiB0OwpzdHJ1Y3QgYWJhCnsKICAgIGludCB4LHk7CiAgICBib29sIGYoKQogICAgewogICAgICAgIHJldHVybiAhdC5lbXB0eSgpOwogICAgfQp9Owpib29sIGNhYmE6Om9wZXJhdG9yID4oY29uc3QgY2FiYSAmb3RoZXIpCiAgICB7CiAgICAgICAgaWYobT09TlVMTHx8b3RoZXIubT09TlVMTCkKICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgcmV0dXJuICgqbSkueD4oKihvdGhlci5tKSkueDsKICAgIH0KCmludCBtYWluKCkKewogICAgcmV0dXJuIDA7Cn0=