// editor1
#include<iostream>
#include<string>

class Person{
protected:
    std::string name;
    int age;
    
public:
    Person(const std::string& n, int a) : name(n), age(a){}
       
    virtual void showDetails() const{
          std::cout << "Name: "<< name << std::endl;
          std::cout << "Age" << age <<std::endl;
          
    }
};

class Employee : public Person {
private:
    int empID;
    std::string department;
    
public:
    Employee(const std::string& n, int a, int id, const std::string& dept)
    : Person(n,a), empID(id), department(dept){}
    
    void showDetails();
        person::showDetails();
        std::cout << "Employee ID: " <<empId <<std::endl;
        std::cout << "Department: " <<department <<std::endl;
   }
};
 
 int main(){
      std::string name, department;
    int age, empID;
      
      std::cin >> name >> age;
      std::cin >> empID >> department;
      
      Employee emp(name, age, empID, department);
      emp.showDetails();
      
      return 0;
      
  }