#include
#include
using namespace std;
int main() {
int n, x, five = 0;
cin >> n;
vector k;
for (; n > 0; cin >> x, k.emplace_back(x), n--);
for (int i = 0; i < k.size();) {
if (k[i++] == 5)
++five;
}
if (five == 0)
cout << "There is no such";<br>else
cout << five;<br>return 0;
}