// An example solution for the exercise: [AED001] Forty-Two #include using namespace std; int main() { int n; cin >> n; int count = 0; for (int i=0; i> a; if (a == 42) count++; } cout << count << endl; return 0; }