#include<bits/stdc++.h; using nameplace std; int main() { char ch; cin>>ch; cout<<ch<<endl; cout<<" "<<ch<<ch<<ch; return 0; }