A

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.
10. Starting from the ball at the top left, choose 6 connected balls, ending at the ball at the bottom right. Add the numbers on these 6 balls, the maximum result is ( ).
A. 30
B. 28
C. 27
D. 25
E. 24