#include <iostream>
#include <cstdint>

using namespace std;

int max_val;
int jury_num;

bool smaller(int x) {
    return jury_num < x;
}

int find_number(int MAX) {
    for (uint32_t i = 1; i <= MAX; i++) {
        if (smaller(i)) {
            return i - 1;
        }
    }
}