#include<stdio.h> int main() { int x,y,z,w,t; printf( "Man Women Children\n"); for(x=0;x<=10;x++) {
w=30-x; t=50-3*x; y=t-w; z=w-y; printf("%3d%8d%8d\n",x,y,z);
}
return 0; }