#include <iostream>
#include <set>
using namespace std;
set<int, bool(*)(int, int)>
remaining([](int a, int b)->bool
{return a < b;});
int main() {}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc2V0PGludCwgYm9vbCgqKShpbnQsIGludCk+CglyZW1haW5pbmcoW10oaW50IGEsIGludCBiKS0+Ym9vbAogICAJCXtyZXR1cm4gYSA8IGI7fSk7CgppbnQgbWFpbigpIHt9