#include <iostream>
using namespace std;
class Simple
{
public:
static int f()
{
X = X + 10;
return 1;
}
static int X;
};
int Simple::X = 0;
int main() {
Simple::X += Simple::f();
printf("X = %d", Simple::X);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgU2ltcGxlCnsKcHVibGljOgoJc3RhdGljIGludCBmKCkKCXsKCQlYID0gWCArIDEwOwoJCXJldHVybiAxOwoJfQoKCXN0YXRpYyBpbnQgWDsKfTsKaW50IFNpbXBsZTo6WCA9IDA7CgppbnQgbWFpbigpIHsKCVNpbXBsZTo6WCArPSBTaW1wbGU6OmYoKTsKCXByaW50ZigiWCA9ICVkIiwgU2ltcGxlOjpYKTsKCXJldHVybiAwOwp9