#include<iostream>
using namespace std;

class Book{
    public:
    string title;
    string author;
    Book (string t, string a){
        Title = t;
        Author = a;
    }
    Book(const Book &b){
        Title = b.title;
        Author = b.author;
    }
    void display(){
        cout<<"Title:" <<Title<<endl;
        cout<<"Author:" <<Author<<endl;
    }
};

int main(){
    string title, author;
    cin>>title>>author;
    Book orginal(title, author);
    Book copied (orginal);
    copied.display();
    return 0;
}