# Can all sums of a 5*5 matrix with the numbers {-2,-1,0,1,2} be different?

Is it possible to construct a matrix with 5*5 cells, where the value in each cell is taken from the set {-2,-1,0,1,2}, such that all of the 12 sums of the cells in each row/column/main diagonal have different values (5 sums of matrix's rows, 5 sums of the matrix's columns, and 2 sums of the main diagonals)?

I started by just putting -2 in the top row. The sum is -10, so I made the first column sum to a different number -9. I repeated this pattern until the diagonal was completed. The sum of the diagonal (bottom left to top right) was -5, so I skipped -5 and continued with -4. The remaining few cells were trivial to select to have different numbers.