map{push@s,$"x($l-$_)."*"x($_*2-1).$/}1..($l=<>);print@s;pop@s;print reverse@s