#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.t; a=b.a;
    }
    void display(){
        cout<<"Title: "<<t<<"\nAuthor: " << a ;
    }
    
};
int main(){
    string  t,a;
    cin>>t>>a;
    if(t.empty()|| a.empty()||t.length()>100||a.length()>100)
    cout<<"Invalid input";
    else{
        book b1(t,a), b2=b1;
        b2.display();
    }
    
}
}