#P239. 练39.4 百钱买百鸡

练39.4 百钱买百鸡

Description

Hundred Chickens for Hundred Coins Problem: With 3 coins, you can buy 1 rooster; with 2 coins, you can buy 1 hen; with 1 coin, you can buy 3 chicks. Use exactly 100 coins to buy exactly 100 chickens. How many roosters, hens, and chicks are there?

Input Format

None.

Output Format

The first line should output the words "Rooster Hen Chick", each occupying 5 characters in width. Then, output all possible combinations of the number of roosters, hens, and chicks in ascending order, each on a separate line, with each integer occupying 5 characters in width.

Sample

None
Rooster Hen Chick
    5   32   63
   10   24   66
   15   16   69
   20    8   72