#include <iostream>
#include <string>
#include <limits>
using namespace std;    

class car 
{
    string make;
    string model;
    string year;
    
    public:
    void set(const string mk, const string md, const string yr)
    {
        make=mk;
        model=md;
        year=yr;
    }
    void print()
    {
        cout<<make;//<<'\n';
        cout<<model;//<<'\n';
        cout<<year;
    }
};
int main()
{
    car c;
    string make, model;
    int year;
    getline(cin,make);
    getline(cin,model);
    cin >> year;
    c.set(make,model,year);
    c.print();
    return 0;
}