#T65. 亲和数
亲和数
Description
The factors of a natural number a refer to all natural numbers that can divide a, excluding a itself. For example, the factors of 12 are: 1, 2, 3, 4, 6. If the sum of the factors of a natural number a equals b, and the sum of the factors of b in turn equals a, then a and b are called a pair of "amicable numbers." The task is to find the smallest pair of amicable numbers (a ≠ b).
Input Format
(None)
Output Format
1 line, containing a and b (a < b), separated by a space.
220 284
(无)
(无)