#include<iostream>
#include<string>
using namespace std;
class Car
{
    private:
    string make;
    string model;
    int year;
    public:
    Car(string mk, string md, int yr)
    {
        make = mk;
        model = md;
        year = yr;
        
    }
    void display()
    {
        cout<<make<<endl;
        cout<<model<<endl;
        cout<<year;
    }
};

int main()
{
    string make,model;
    int year;
    Car c(make, model, year);
    int year;
    cin>>make;
    cin>>model;
    cin>>year;
   Car c(make, model, year);
   c.display();
    return 0;
}