Question
Divine Number Hunt
In a distant kingdom, there was a wise sage named Arya who loved solving mystical number riddles. One day, a young scholar approached Arya with a challenge: to find all the divine numbers between two numbers, a and b. These divine numbers are special because they are equal to the sum of their divisors (excluding the number itself). Intrigued by the challenge, Arya set out to uncover all the divine numbers within the given range. Can you help Arya complete this quest and list all the divine numbers between a and b?
Input
The first line of the input will contain an integer a representing the start of the range.
The second line of the input will contain an integer b representing the end of the range.
Constraints
1 ≤ a < b ≤ 105
The second line of the input will contain an integer b representing the end of the range.
Constraints
1 ≤ a < b ≤ 105
Output
Print all divine numbers between a and b in a space-separated matter.
Example
Sample Input
1
100
Sample Output
6 28
Explanation
6 (1 + 2 + 3), and 28 (1 + 2 + 4 + 7 + 14) are all divine numbers between 1 and 100.
1
100
Sample Output
6 28
Explanation
6 (1 + 2 + 3), and 28 (1 + 2 + 4 + 7 + 14) are all divine numbers between 1 and 100.