#include <iostream>
#include <string>
using namespace std;
class Book{
    private:
    string title;
    string author;
    
    public:
    void setDetails( string t, string a){
        title =t;
        author=a;
    }
    void displayDetails(){
        cout<<"Title : "<<title;
        cout<<"Author : "<<author;
    }
};
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;
    }
    Book b;
    b.setDetails(title,author);
    b.displayDetails();
    return 0;
    
}