// editor2
#include<iostream>
#include<string>
#include<cctype>
using namespace std;
class person{
    protected:
    string name;
    int age;
    public: person(string n, int a){
        name = n;
        age = a;    }
}
virtual viod showDetails(){
    cout << "Name:"<< name << endl;
    cout << "Age:"<< age <<endl;
}

class Employee : public person{
    int empID;
    string department;
    public:
    Employee(string n, int a, int id, string dept) : person(n, a){
        empID = id;
        department = dept;
    }
    void showDetails() override{
        cout << "Name:" << name << emdl;
        cout << "Age:" <<age << endl;
        cout << "Employee ID:" << empID << endl;
        cout << "department:" << department << endl;
        
    }
};
bool isValidName(string name){
    for (char c : name){
        if (isalpha(c)) return false;
    }
    return true;
}
int main(){
    string name, dept;
    int age, empID;
    cin >> name >> age;
    cin >> empID >> dept;
    if (!isValidName)(name) || age <0 ||empID < 0){
        cout << " Invalid input";
        return 0;
    }
    Employee e(name, age, empID, dept);
    e.showDetails();
    return 0;
}