POJ1528 - Perfection

Note: By definition, 1 is deficient