#include <iostream>
using namespace std;
int main()
{
char n;
cin>>n;
cout<<" "<<n<<endl;
cout<<" "<<n<<n<<n<<endl;
cout<<n<<n<<n<<n<<n<<endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
char n;
cin>>n;
cout<<" "<<n<<endl;
cout<<" "<<n<<n<<n<<endl;
cout<<n<<n<<n<<n<<n<<endl;
return 0;
}