#include <stdio.h>
int main(int argc, char *argv[])
{
int n46=0,n36=0,n26=0,n16=0,n6=0; /*46,36,26,16,6的个数*/
for(n46=0;n46<3;n46++)
for(n36=0;n36<3;n36++)
for(n26=0;n26<4;n26++)
for(n16=0;n16<7;n16++)
for(n6=0;n6<17;n6++)
{
if(40==(n46*46+n36*36+n26*26+n16*16+n6*6)&&5==(n46+n36+n26+n16+n6))
{
printf("when one member is 60:n46:%d n36:%d n26:%d n16:%d n6:%d \n",n46,n36,n26,n16,n6);
}
if(44==(n46*46+n36*36+n26*26+n16*16+n6*6)&&5==(n46+n36+n26+n16+n6))
{
printf("when one member is 56:n46:%d n36:%d n26:%d n16:%d n6:%d \n",n46,n36,n26,n16,n6);
}
if(100==(n46*46+n36*36+n26*26+n16*16+n6*6)&&6==(n46+n36+n26+n16+n6))
{
printf("when all member less than 56:n46:%d n36:%d n26:%d n16:%d n6:%d \n",n46,n36,n26,n16,n6);
}
}
return 0;
}