// editor1
#include <iostream>
#include <string>
using namespace std;

class Data{
    priva:
    string name;
    int age;
    
    public:
    Data(string name, int age)
    {
        this -> name = name;
        this -> age = age;
    }
    
    void display()
    {
        cout << "Name: " << name << endl;
        cout << "Age: " << age << endl;
        
    }
    
};

int main()
{
    string name;
    int age;
    cin >> name >> age;
    int l = name.size();
    
    if(l >= 1 && l <= 100)
    {
       Data *obj = new Data(name, age);
       obj -> display();
    }
    else
    {
    cout << "Invalid Length" << endl;
    }
    return 0;
}