#E00323. N 鸡 N 钱
N 鸡 N 钱
A rooster costs 5 yuan, a hen costs 3 yuan, and a chick costs 1 yuan. If you have 100 yuan and you bought 100 chickens, how many roosters, hens, and chicks can you buy?
Now modified question: input , use yuan to buy chickens, output all possible solutions (each line has three numbers representing the number of roosters, hens, and chicks respectively. If there is no solution, output No Answer
).
. Note that each type of chicken must have at least one.
100
4 18 78
8 11 81
12 4 84
3
No Answer