#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.title;
    }
    void display() {
        cout<<"Title:"<<title<<endl;
        cout<<"Author:"<<author;
    }
};
int main() {
    string title,author;
    getline(cin,title);
    getline(cin,author);
    if(title.length()==0||title.length()>100||author.length()==0||author.length()>100) {
        cout<<"Invalid input";
        return 0;
    }
    Book book1(tilte,author);
    Book book2=book1;
    book2.display();
    return 0;
}