#define H 40
#define W 80
#define S .1
#define A(x) ((x)*3.1416/180)
#include<iostream>
#include<cstdlib>
#include<cmath>
int main() {
double a=-72,x=0,y=0;
char b[H][W];
int i,j;
memset(b,' ',sizeof b);
for (i=0;i<5;i++,a+=216) for(j=0;j<H/S;j++) {
x+=S*sin(A(a));
y+=S*cos(A(a))*W/H;
b[-(int)x][W/2-(int)y]='.';
}
for (i=0;i<H;i++) for (j=0;j<=W;j++)
printf("%c",j==W?'\n':b[i][j]);
getchar();
return 0;
}