using System;
using System.Collections.Generic;
class A{
public int x;
protected int y;
private int z;
}
class B: A{
private int d;
protected int e;
public void Foo(){
d=2;
e=2;
x=2;
y=2;
public class Program{
public static void Main(){
B B= new B();
B.x=1;
B.Foo();