#include <iostream>
using namespace std;
// Write your BufferTracker class here
class BufferTracker{
int count;
public:
BufferTracker() : count(0){}
~BufferTracker(){
printf("PROCESSED=%d",count);
}
void addByte(int b){
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;
}