The points (1,7), (-13,16), and (5,k) where k is an integer, are vertices of a non-degenerate triangle. What is the sum of the values of k for which the area of the triangle is a minimum?
The sum of the values of k is 22.