#include <iostream>
using namespace std;
class test
{
  private:      int x;
  public :       int y;
  protected :    int z;
};

class test2:  public  test
{        public:  void show( )      {  cout << x ;    }      };

int main(   )
    test2  t;
    
       cout << t.x<<endl;
         cout << t.y<<endl;
     cout << t.z<<endl;
    
}