For this problem, you will find the sum of the proper divisors of a number excluding the number itself. For example, the sum of the divisors of $$$n=10$$$ is $$$5+2+1=8$$$. This process can be repeated until there are no more divisors in the sum. See the case for $$$n=10$$$:
Numbers can be classified according to the behavior of the sum of their divisors. For now, the following types of numbers will be considered:
You will be given a list of numbers and you must classify them according to the type of number they are.
In the case that a number is both "romantico" and "abundante", you should print its classification as "romantico" first and then as "abundante". See the example cases for clarity.
The first line contains an integer $$$n$$$ ($$$1 \leq n \leq 10^5$$$), indicating the number of numbers to be classified.
The following $$$n$$$ lines each contain an integer $$$a_i$$$ ($$$1 \leq a_i \leq 10^5$$$), indicating the number to be classified.
For each number, you must print a line with the number followed by its classification. The number and each classification should be separated by a space.
5 28 220 276 1 287
28 perfecto 220 romantico abundante 276 abundante 1 complicado 287 complicado