#P453. 练82.2 三连击

练82.2 三连击

Description

Divide the numbers 11, 22, ..., 99 into three groups to form three three-digit numbers, such that the ratio of these three numbers is AA:BB:CC. Find all possible combinations of three three-digit numbers that satisfy this condition. If no solution exists, output "No!!!".

Input Format

Three numbers, AA, BB, CC. It is guaranteed that A<B<CA < B < C.

Output Format

Multiple lines, each containing 33 numbers. The lines should be sorted in ascending order by the first number.

Sample

1 2 3
192 384 576
219 438 657
273 546 819
327 654 981