#include<stdio.h>
int main()
{
int big, mid, small, sum = 0;
big = 1; small = 2; mid = 1;
do {
big++;
do {
small += 2;
do {
mid++;
if (3 * big + 2 * mid + small / 2 == 100 && big + mid + small == 100)
{
printf("big:%d\tmid:%d\tsmall:%d\n", big, mid, small);
sum++;
}
} while (mid < 50 && mid != 0);
} while (small < 100 && small != 10);
} while (big < 33 && big != 0);
printf(" % d\n", sum);
return 0;
}