#include <iostream>
using namespace std;
class A{
 private:
  int x = 10;
    int y = 20;
};
class B:public A{
 void display1(){
     cout << x << " "<<y;
 }
};
class C:public B{
    void display(){
  //  cout << x;
}
};
int main() {
C c1;
c1.display();
return 0;
}