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