from itertools import combinations as comb def solution(numbers): result = set() for i in list(comb(numbers,2)): result.add(sum(list(map(int,i)))) return (sorted(list(result)))