import Foundation

func solution(_ numbers:[Int]) -> [Int] {
    var result: Set<Int> = []
    for i in 0..<numbers.count {
        for j in 0..<numbers.count {
            if i != j {
                result.insert(numbers[i]+numbers[j])
            }
        }
    }
    
    return result.sorted()
}
ytw_developer