Python one liner ;_;


#1
class Solution:
    # @param A : list of integers
    # @param B : list of integers
    # @param C : list of integers
    # @return a list of integers
    def solve(self, A, B, C):
        return sorted(list(( (set(A)&set(B)) | (set(B) & set(C)) | (set(A)&set(C)))))

#2

such elegant solution !!
thanks for sharing