A list of six positive integers has all of the following properties:
the only integer in the list that occurs more than once is \(8\),
its median is \(9\), and
its average (mean) is \(10\).
What is the largest possible integer that could appear in the list?