The ordered data are 3,5,6,8,9,11,12,13,14,18,313,5,6,8,9,11,12,13,14,18,313,5,6,8,9,11,12,13,14,18,31.
Find the median and quartiles.
Use the 1.5×IQR1.5\times\mathrm{IQR}1.5×IQR rule to decide whether 31 is an outlier.