#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;
    if(title.length()=0||author.length()=0)
    {
    book original(title,author);
    
    book copied(original);
    
    copied.display();
    }
    else
    {
        cout<<"Invalid input";
    }
    return 0;
}