Omówienie C++: https://youtu.be/CnOETic_wwA
Omówienie Python: https://youtu.be/gulo4s7OUJs
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int n;
cin >> n;
int res = 0;
for (int i = 0; i < n; ++i) {
int ph;
cin >> ph;
res += (ph < 7);
}
cout << res << '\n';
return 0;
}