#include<iostream>
using namespace std;
class book{
    string t,a;
    public:
    book(string t1,string a1){
        t=t1;
        a=a1;
    }
    book(const book &b){
        t=b;
        a=b.a;
    }
    void display(){
        <<cout<<"Title:"<<t<<"\nAuthor: "<<a;
    }
    
};
int main(){
    string t,a;
    cin>>t>>a;
    if(t.length() <1||a.length() <||t.length()>100||a.length()>100){
        cout<<"Invalid input";
        return 0;
    }
    book b1(t,a).b2=b1;
    b2.display(;)
}