gets$9;i= ~/#//4;puts [" "*10]*[4.times{sub!("#"," ")[$`.size+[?y,132,66][i]]=35},1,2][i],$_.grep(/ /)