#include <stdio.h>
int main () {
int x ;
int one,two,five;
x = 3
for ( five = 0; five <= x*10/five; five++)
{
for ( two = 0; two <= x*10/two; two++)
{
for (one = 0; one <= x*10/one; one++)
{
if (one + two*2 + five* 5 == x*10)
{
printf("%d %d %d",one,two,five);
}
}
}
}
return 0 ;
return 0 ;
}