#include<iostream>
using namespace std;
class Book
{
    private:
    string title;
    string author;
    public:
    Book(string t,string a)
    {
        t=title;
        a=author;
    }
    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;
    cin>>author;
    
    if(title.length()==0 || author.length==0|| title.length>100|| author.length>100)
    {
        return 0;
    }
    Book b1(title,author);
    Book b2 =b1;
    
    b2.display();
    return 0;
}