#include <iostream>
#include <set>
using namespace std;
int main() {
set<int> a;
a.insert(1);
a.insert(4);
a.insert(10);
a.insert(15);
set<int>::iterator it = a.lower_bound(0);
if (it != a.begin()) {
it--;
cout << *it << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBzZXQ8aW50PiBhOwogICAgYS5pbnNlcnQoMSk7CiAgICBhLmluc2VydCg0KTsKICAgIGEuaW5zZXJ0KDEwKTsKICAgIGEuaW5zZXJ0KDE1KTsKICAgIHNldDxpbnQ+OjppdGVyYXRvciBpdCA9IGEubG93ZXJfYm91bmQoMCk7CiAgICBpZiAoaXQgIT0gYS5iZWdpbigpKSB7CiAgICAgIGl0LS07CiAgICAgIGNvdXQgPDwgKml0IDw8IGVuZGw7CiAgICB9CiAgICByZXR1cm4gMDsKfQ==