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