#include <iostream>
int someMethod(){
static int a = 20;
static int result = 21;
std::cout << " [" << a << "] ";
++result;
++a;
--result;
return result;
}
int main(){
std::cout << someMethod() << "\n";
std::cout << someMethod() << "\n";
std::cout << someMethod() << "\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IHNvbWVNZXRob2QoKXsKICBzdGF0aWMgaW50IGEgPSAyMDsKICBzdGF0aWMgaW50IHJlc3VsdCA9IDIxOwogIHN0ZDo6Y291dCA8PCAiIFsiIDw8IGEgPDwgIl0gIjsKICArK3Jlc3VsdDsKICArK2E7CiAgLS1yZXN1bHQ7CiAgcmV0dXJuIHJlc3VsdDsKfQoKaW50IG1haW4oKXsKICBzdGQ6OmNvdXQgPDwgc29tZU1ldGhvZCgpIDw8ICJcbiI7CiAgc3RkOjpjb3V0IDw8IHNvbWVNZXRob2QoKSA8PCAiXG4iOwogIHN0ZDo6Y291dCA8PCBzb21lTWV0aG9kKCkgPDwgIlxuIjsKfQ==