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