#include <iostream>

using namespace std;

class Engine {
  public:
    Engine(int cyl = 4, int cap = 2000, int pow = 150);
    bool start();
    bool stop();
    
  private:
    int fuel;
    int cylinders;
    int capacity;
    int power;
};

class Transmission {
  public:
    Transmission(int g = 6);

  private:
    int gears;
};


class Vehicle {
  public:
    Vehicle(int w = 0, int l = 0, int h = 0);
    bool start();
    bool stop();

  protected:
    Engine engine;
    Transmission transmission;

  private:
    int weight;
    int length;
    int height;
};


class Car : public Vehicle {
  public:
    Car(int w = 4);

  private:
    int wheels;
};


class Truck : protected Vehicle {
  public:
    Truck(int w = 4);

  private:
    int wheels;
};


class Bike : private Vehicle {
  public:
    Bike(int w = 2);

  private:
    int wheels;
};


class Tank : Vehicle {
  public:
    Tank(int g = 120);

  private:
    int gun;
};


int main() {
    
    return 0;
}

  
