#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;
}