#include<iostream>
using namespace std;

class Book{
    public:
    string title;
    string author;
    Book (string t, string a){
        title = t;
        author = a;
    }
    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 orginal(title, author);
    book copied (orginal);
    copied.display();
    return 0;
}