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