sum takes as argument a matrix A. sum returns the list whose elements are the sum of the elements of each column of the matrix A. Input :
Output :