#include <iostream>                // Ex35
using namespace std;
struct base1 {
    void r() { cout << "base1::r" << endl; }
};
struct base2 : public base1 {
    void r() { cout << "base2::r" << endl; }
};
