#include <iostream>
using namespace std;
// Write your BufferTracker class here
class BufferTracker {
private:
int count;
public:
BufferTracker():count(0){}
void addByte(int b) {count++;}
~BufferTracker(){
cout << "PROCESSED="<<count;
}
};
int main() {
int n;
cin >> n;
{
BufferTracker tracker;
for (int i = 0; i < n; i++) {
int x;
cin >> x;
tracker.addByte(x);
}
} // Destructor must print the processed count
return 0;
}