#include <iostream>
#include <string>
using namespace std;

class Book{
    public:
    string title;
    string author;
    
    //Parameterized constructor
    Book(string t,string a){
        title=t;
        author=a;
    }
    
    //Copy constructor
    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;
    cin>>title>>author;
    
    Book b1(title,author); //original object
    Book b2=b1; //copied object using copy constructor 
    
    b2.display();
    return 0;
}
}