#include<iostream>
#include<string>
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 show() {
        cout<<"Title:"<title<<endl;
        cout<<"Author:"<author<<endl;
    }
};
int main(){
    string title,author;
    getline(cin, title);
    getline(cin, author);
    
    Book b1(title,author);
    Book b2 = b1;
    b2.show();
    return 0;
}