#include<iostream>
using namespace std;

class person {
    public:
    string name;
    int age;
    void display() {
    cout << "Sam " << Sam << endl;
    cout << "18 " << 18;
    }
};
int main() {
    person p;
  
    getline(cin, p.name);
    cin >> p.age;
   
    p.display();
   
    return 0;
}