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