// editor2
#include<iostream>
#include<string>
using namespace std;
class book{
    string title;
    string author;
    public:
    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;
    }
};
int main(){
    string title,author;
    cin>>title>>author;
    if(title.length()==0 || title.lenght()>100 )|| author.length()==0 || author.length()>100){
        cout<<"Invalid input";
        return 0;
    }
    book b1(title,author);
    book b2=b1;
    b2.display();
    return 0;
    
    }
}