#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

int main() {
	// your code goes here
	vector<int> v = { 1, 1, 2, 4, 6, 8};
	int count1 = count_if( v.begin(), v.end(),
                           std::bind(logical_not<bool>(),
                           std::bind(modulus<int>(), placeholders::_1, 2)));
    int count2 = count_if( v.begin(), v.end(), [](int x){return x % 2 == 0;});
    int what = -7%3;
    std::cout << count1 << "," << count2 << "," << what;
	return 0;
}