Input: nums = [15]-List[int]
Output: 24-int
Explanation: 15 has exactly four divisors, 1, 3, 5, and 15, whose sum is 24.
Input: nums = [16, 18, 25]-List[int]
Output: 0-int
Explanation: 16, 18, and 25 do not have exactly four divisors, so none contribute to the sum.
Input: nums = [8, 10, 27, 30]-List[int]
Output: 73-int
Explanation: 8 contributes 1 + 2 + 4 + 8 = 15, 10 contributes 1 + 2 + 5 + 10 = 18, and 27 contributes 1 + 3 + 9 + 27 = 40. Since 30 does not have exactly four divisors, it is excluded, giving a total of 73.
Input: nums = [14, 14, 9]-List[int]
Output: 48-int
Explanation: Each occurrence of 14 has exactly four divisors summing to 24, while 9 does not qualify. Therefore, the total is 24 + 24 = 48.