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