#include <algorithm>
#include <iostream>
#include <vector>

bool is_negative(int value) {
    return value < 0;
}

int main() {
    const std::vector<int> rejected{-1, 2};
    const std::vector<int> accepted{1, 2};
    const std::vector<int> empty{};
    std::cout << std::any_of(rejected.begin(), rejected.end(), is_negative) << '\n';
    std::cout << std::any_of(accepted.begin(), accepted.end(), is_negative) << '\n';
    std::cout << std::any_of(empty.begin(), empty.end(), is_negative) << '\n';
    return 0;
}
