#include<iostream>
using namespace std ;
class book{
    private:
       string title ;
       string author ;
    public:
       book(string HarryPotter,string J.K.Rowling){
           title =HarryPotter;
           author =J.K.Rowling;
       }
       
       book(const book &b){
           title =b.title;
           author =b.author ;
       }
       
       void display (){
           cout<< "title="<< title<<endl;
           cout<<"author="<<author<<endl;
       }
};
int main(){
    string title ,author;
    
    getline(cin,title);
    getline(cin,author);
    
    book book1(title,author);
    
    book book(book1);
    
    book.display();
    return 0;
}