#include <stdio.h>
void main()
{
int a,b,c;
for(a=0;a<=20;a++)
for(b=0;b<=33;b++)
for(c=0;c<=100;c++)
{if((a*5+b*3+c/3==100)&&(a+b+c==100))
printf("a=%2d,b=%2d,c=%2d\n",a,b,c);}
}