char*s="Old MacDonald had a farm, E-I-E-I-O.\n",*t,*u;i;main(j){for(;i<4;++i,puts(s))for(j=i,printf("%sAnd on his farm he had a %s%s",s,"cow\0 sheep\0duck\0 pig"+i*6,s+24);j+1;printf("%s%s-%s here, and a%s-%s there.\nHere a%s, there a%s, everywhere a%s-%s.\n",i-j--?"A":"With a",t,u,t,u,t,t,t,u))t=" moo\0 baa\0 quack\0n oink"+j*7,u=t+j/3+1;}