AMC8 1999 Problem 11

Each of the five numbers 1,4,7,10, and 13 is placed in one of the five squares so that the sum of the three numbers in the horizontal row equals the sum of the three numbers in the vertical column. The largest possible value for the horizontal or vertical sum is
Image
Answer Choices
A. 20
B. 21
C. 22
D. 24
E. 30