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