#include <iostream>
class A {
static int counter = 0;
public:
A();
int getCounter() { return counter; }
};
A::A() {
counter++;
}
int main()
{
A obj;
std::cout << obj.getCounter() << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgQSB7CiAgICAgICAgc3RhdGljIGludCBjb3VudGVyID0gMDsKcHVibGljOgogICAgICAgIEEoKTsKICAgICAgICBpbnQgZ2V0Q291bnRlcigpIHsgcmV0dXJuIGNvdW50ZXI7IH0KfTsKCkE6OkEoKSB7CiAgICAgICAgY291bnRlcisrOwp9CgppbnQgbWFpbigpCnsKICAgICAgICBBIG9iajsKCiAgICAgICAgc3RkOjpjb3V0IDw8IG9iai5nZXRDb3VudGVyKCkgPDwgc3RkOjplbmRsOwoKICAgICAgICByZXR1cm4gMDsKfQo=