#include <iostream>
#include <string>
using namespace std;
class A{
    public:
    void getDetails(string title,string author){
        cout<<"Title:"<<title<<end1;
        cout<<"Author:"<<author<<end1;
    }
};
int main(){
    string title,author;
    getline(cin,title);
    getline(cin,author);
    if(!title.empty() && title.back()=='\r')title.pop_back();
    if(!author.empty() && author.back()=='\r')author.pop_back();
    A obj;
    obj.getDetails(title,author);
    return 0;
}