#include<iostream>
#include<string>
using namespace std;
class Book {
 private:
    string title;
    string author;
public:
    void setDetais(stringm t,string a) {
        title = t;
        author = a;
    }
    void dispalyDetails() {
        cout<<"Title: " <<title<<endl;
        cout<<"Author " <<author<<endl;
    }
    
};
int main() {
    string title,author;
    getline(cin,title);
    getline(cin,author);
    if (!title.empty() && title.back() == '\r') title.pop_back();
    if (!author.empty() && title.back() == '\r') author.pop_back();
    Book b;
    b.setDetails(title,author);
    b.displayDetails();
    
    
    
    return 0;
}