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