#include<iostream>
#include<string>
using namespace std;
class book{
    private:
    string title,author;
    public:
    book(string t, string a){
        title = t;
        author = a;
    }
    void display(){
        cout << "Title: " << title << endl;
         cout << "Author: " << author 
         
    }
};
int main()
{
     string title,author;
     cin >> title,author;
     if(title.length() < 1 || title.length() > 100 || author.length() < 1 || author.length() > 100 ){
         cout << "Invalid input";
     }
     book b(title,author);
     b . display();
}