Leetcode 2507. Smallest Value After Replacing With Sum of Prime Factors | Hello Interview