Hello, I know the mean of these numbers is 12, but what is the mean absolute deviation? How do I solve this?

Given:
Sample of 10 students is as below
[tex]12,15,8,9,14,8,17,14,8,15[/tex]Required:
We want to find the mean absolute deviation for the given sample
Explanation:
For this,
first we need to find the mean of given sample
[tex]\frac{12+15+8+9+14+8+17+14+8+15}{10}=\frac{120}{10}=12[/tex]Now
[tex]\begin{gathered} \text{l12-12l=0} \\ \text{l12-15l=3} \\ \text{l12-8l=4} \\ \text{l12-9l=3} \\ \text{l12-14l=2} \\ \text{l12-8l=4} \\ \text{l12-17l=5} \\ \text{l12-14l=2} \\ \text{l12-8l=4} \\ \text{l12-15l=3} \end{gathered}[/tex]now find the mean of new sample for mean absolute deviation
[tex]\frac{0+3+4+3+2+4+5+2+4+3}{10}=\frac{30}{10}=3[/tex]Final answer:
3