#include <stdio.h>
#include <stdlib.h>
int main()
{
    int i,j,k,count=0;
    for(i=0;i<=20;i++)
    for(j=0;j<=(100-i*5)/2;j++)
    {
        k=100-i*5-j*2;
    printf("%d %d %d\n",i,j,k);
    }
}