#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 &obj)
    {
        title = obj.title;
        author = obj.author;
    }
    void display()
    {
        cout << "Title: " << title << endl;
        cout<< "Author: " << author << endl;
    }
};
int main()
{
    string inputtitle,inputauthor;
    if (!(cin>>inputtitle>>inputauthor))return 0;
    if(inputtitle.length() >= 1 && inputtitle.length() <= 100 && 
    inputauthor.length() >= 1 && inputauthor.length() <= 100)
    {
        Book
        originalBook(inputTitle,inputAuthor);
        Book copiedBook = originalBook;
        copiedBook.display();
    }
  
    return 0;
}