#include<iostream>
#include<string>
#include<limits>
using namespace std;
class Book{
    private:
    std::string title;
    std::string author;
    public:
    Book() : title(""),author(""){}
    Book(std::string t,std::string a) : title(t),author(a){}
    Book(const book& other) : title(other.title),author(other.author){}
    bool setDetails(std::string t, std::string a){
        if(t.empty() || t.length()>100 || a.empty() || a.length()>100){
            return false;
        }
        Title =t;
        author =a ;
        return true;
    }
    void printDetails()const{
        std::cout<<"Title:"<<title<<std::endl;
        std::cout<<"Author:"<<author<<std::endl;
    }
};
int main()
{
    std::string inputTitle,inputAuthor;
    std::getline(std::cin,inputTitle);
    std::string sampleTitle="HarryPotter";
    std::string sampleAuthor="JK Rowling.";
    Book originalBook(sampleTitle,sampleAuthor);
    Book copiedBook=originalBook;
    copiedbook.printDetails();
    return 0;
}