// editor1
#include<iostream>
#include<string>
#include<cctype>
using namespace std;
class person
{
    public:
    string name;
    int age;
    void getvalue()
    {
         if(isalpha(name)&&age<0)
        {
            cout<<"Invalid input";
            return;
        }
    cin>>name;
    cin>>age;
    cout<<"Name: "<<name<<endl;
    cout<<"Age: "<<age<<endl;
}
    void getvalue1()
    {
      int employeeID;
      string department;
      cin>>employeeID;
      cout<<"Employee ID: "<<employeeID<<endl;
      cin>>department;
      cout<<"Department: "<<department<<endl;
    }
};
int main()
{ person P;
    
    P.getvalue();
    P.getvalue1();
    
}