3. In an $n$-sided polygon, the sum of $(n-1)$ interior angles is $8940^{\circ}$. Then $n$ equals ( ).
(A) 60
(B) 51
(C) 52
(D) 53
3. C

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.