class Program
{
static int x = 0;
static int f()
{
x = x + 10;
return 1;
}
public static void Main()
{
x += f();
System.Console.WriteLine(x);
}
}
Y2xhc3MgUHJvZ3JhbQp7CglzdGF0aWMgaW50IHggPSAwOwoJCglzdGF0aWMgaW50IGYoKQoJewoJCXggPSB4ICsgMTA7CgkJcmV0dXJuIDE7Cgl9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQl4ICs9IGYoKTsKCQlTeXN0ZW0uQ29uc29sZS5Xcml0ZUxpbmUoeCk7Cgl9Cn0=