#include <iostream>
#include <vector>
#include <algorithm>
using std::cout;
using std::endl;
using std::vector;
using std::string;
int main()
{
vector<string> vec = { "c++", "c", "java", "python", "php" };
bool result = std::any_of(vec.begin(), vec.end(), [](const string & s) {
return s.size() == 4;
});
if (result)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
/*
run:
yes
*/