#include <iostream>
#include <iostream>
using namespace std;

class Book{
    private:
    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<<endl;
    }
    
};
int main(){
    string title , author;
    getline(cin , title);
    getline(cin , author);
    if (title.length()==0 || title.lenght()>100 || author.length()==0 || author.length()>100){
        return 0;
    }
    book  b1( title , author);
    book b2=n1;
    b2.display();
    return 0;
}