#include <stdio.h>

const char d[5] = {'#', ' ', '.', 'o', 'p'};
	
int main(void) {
	// your code goes her
	int i,j;
	int map[5][8] = {{0,0,0,0,0,0,0,0}, //or 벽벽벽벽벽벽벽벽
	{0,1,2,2,1,4,1,0},
	{0,1,3,3,1,1,1,0},
	{0,1,1,1,1,1,1,0},
	{0,0,0,0,0,0,0,0}};
	
	
	for (i = 0; i < 5; ++i)
	{
		for(j=0;j <8; ++j)
		{
			printf("%c", d[map[i][j]]);
		}
		printf("\n");
	}
	
	return 0;
}
