#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 & 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 b1(title,author);
    book b2=b1;
    b2.display();
    return 0;
}