using System;
public class Test
{
class Person
{
public int age;
public Person()
{
age = 1;
}
}
class Customer : Person
{
public Customer()
{
age += 1;
}
}
public static void Main()
{
var c = new Customer();
Console.WriteLine(c.age);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewogICAgCiAgICBjbGFzcyBQZXJzb24KewogICAgcHVibGljIGludCBhZ2U7CiAgICBwdWJsaWMgUGVyc29uKCkKICAgIHsKICAgICAgICBhZ2UgPSAxOwogICAgfQp9CgpjbGFzcyBDdXN0b21lciA6IFBlcnNvbgp7CiAgICBwdWJsaWMgQ3VzdG9tZXIoKQogICAgewogICAgICAgIGFnZSArPSAxOwogICAgfQp9CgoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXZhciBjID0gbmV3IEN1c3RvbWVyKCk7CiAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoYy5hZ2UpOwoJfQp9