#include <stdio.h>
void main()
{
int i,j,t=0;
for(i=0;i<=100/1;i++)
for(j=0;j<=100/2;j++)
if((100-i-2*j)%5==0&&(100-i-2*j)/5>=0)
{
printf("%d个1分,%d个2分,%d个5分\n",i,j,(100-i-2*j)/5);
t++;
}
printf("%d\n",t);
}
void main()
{
int i,j,t=0;
for(i=0;i<=100/1;i++)
for(j=0;j<=100/2;j++)
if((100-i-2*j)%5==0&&(100-i-2*j)/5>=0)
{
printf("%d个1分,%d个2分,%d个5分\n",i,j,(100-i-2*j)/5);
t++;
}
printf("%d\n",t);
}