// editor2
#include <iostream>
#include <string>
using namespace std;

class Book{
    private:
    string title;
    string author;
    
    public:
    Book(string t, string a){
        if(t.empty() || t.lenght()>100 || a.empty() || a.lenght()>100){
            cout<<"Invalid input";
            exit(0);
        }
        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;
    getline(cin, title);
    getline(cin, author);
    
    Book original(title, author);
    Book copied(original);
    
    copied.display();
    
    return 0;
}