How many interior diagonals does a regular nine-sided polygon have?  (An $\emph{interior diagonal }$ is a segment connecting two vertices which do not have an edge between them.)
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
How many interior diagonals does a regular nine-sided polygon have?  (An $\emph{interior diagonal }$ is a segment connecting two vertices which do not have an edge between them.)
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
27
How many interior diagonals does a regular nine-sided polygon have?  (An $\emph{interior diagonal }$ is a segment connecting two vertices which do not have an edge between them.)
train