#include <iostream>
#include <set>
using namespace std;
int main()
{
set<int> s;
s.insert(1);
s.insert(3);
set<int>::iterator it=s.begin();
s.erase(1);
++it;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpCnsKICAgIHNldDxpbnQ+IHM7CiAgICBzLmluc2VydCgxKTsKICAgIHMuaW5zZXJ0KDMpOwogICAgc2V0PGludD46Oml0ZXJhdG9yIGl0PXMuYmVnaW4oKTsKICAgIHMuZXJhc2UoMSk7CiAgICArK2l0OwogICAgcmV0dXJuIDA7Cn0=