#include<iostream>
using namespace std;void main(){ char c; for(int n;cin>>c>>n;) { for(int i=1;i<=n;++i) cout<<string(n-i,' ')+string(2*i-1,c)+'\n'; for(int i=1;i<n-1;++i) cout<<string(i,' ')+string(2*n-1-2*i,c)+'\n'; }}#include<iostream>using namespace std;class Outer
{class Inner
{ public: void Fun() { cout<<"Inner::Fun..."<<endl; } }; public: Inner obj_; void Fun() { cout<<"Outer::Fun.."<<endl; obj_.Fun();}};int main(void)
{ Outer o; o.Fun(); return 0;}