// editor3
#include <iostream>
#include <string>
using namespace sgtd;
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; }
};
int main() {
    string t, a;
    getline(cin,t);
    getline(cin,a);
    Book b1(t, a), b2(b1);
    cout << "Title:" << b2.title << endl;
    cout << "Author:" << b2.author;
}