#include <stdio.h>
#include <math.h>

#define PGM_ID "P6"
#define W 400
#define H 300

int main(){
int x, y;
unsigned char pixel;

printf("%s\n", PGM_ID);
printf("%d %d\n",W,H);
printf("%d\n", 255 );
for(y=150; y>-150; y--){
for( x=-200; x<200; x++){

if(y<0.75*x+150 && y<-0.75*x+150 && y>-0.75*x-150 && y>0.75*x-150){
putchar(100);
putchar(192);
putchar(67);
}
else{
putchar(255);
putchar(255);
putchar(255);
}}}
return 0;
}