#include<iostream>
#include<string>
using namespace std;
class Book {
    private:
    string title;
    string author;
   public: 
    Book(string t, string a) {
       if(t.empty() || a.empty() || t.length() > 100 || a.length() > 100){
           title = "";
           author = "";
       } else {
           title = t;
           author = a;
       }
    }
    Book(const Book &b) {
        title = b.title;
        author = b.author;
    }
    
};
int main() {
    string title, author;
    cin >> title;
    cin >> author;
    Book b1(title, author);
    Book b2(b1);
    cout << "Title: " << b2.title << endl;
    cout << "Author: " << b2.author << endl;

    return 0;
}