#include
void main() { int i,j,k;
for ( i=1;i<=3;i++ )
for ( j=1;j<=5;j++ )
for ( k=0;k<5;k++ )
if ( i+j+k==8 ) printf("红球:%d,白球:%d,黑球:%d\n",i,j,k);
}