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