// editor2
#include<iostream>
using namespace std;
class Car{
    private:
        string veh;
        string model;
        int year;
    public:
        Car(string v,string m,int y)
        {
            veh=v;
            model=m;
            year=y;
        }
        void display()
        {
            cout<<veh<<endl;
            cout<<model<<endl;
            cout<<year<<endl;
        }
};
int main()
{
    string veh,model;
    getline(cin,veh);
    getline(cin,model);
    cin>>year;
    Car c(veh,model,year);
    c.display();
    return 0;
}