In the arithmetic sequence {an}, A1 = 22, S17 = S9, find the maximum value of Sn

In the arithmetic sequence {an}, A1 = 22, S17 = S9, find the maximum value of Sn

S17 = S9, so this arithmetic sequence is decreasing, and Sn is the largest in the middle of (9,17), that is, S13 is the largest