<|im_start|>system
You are a helpful assistant. You first think about the reasoning process in the mind and then provide the user with the answer. You should try to truely solve the question by yourself without cheating.  <|im_end|>
<|im_start|>user
 The set \( S \) consists of 9 distinct positive integers. The average of the two smallest integers in \( S \) is 5. The average of the two largest integers in \( S \) is 22. Calculate the greatest possible average of all of the integers of \( S \). Express your answer as a single number. Show your work in <think> </think> tags. And return the final answer in <answer> </answer> tags.<|im_end|>
<|im_start|>assistant
Let me solve this step by step.
<think>
user
16
The set \( S \) consists of 9 distinct positive integers. The average of the two smallest integers in \( S \) is 5. The average of the two largest integers in \( S \) is 22. Calculate the greatest possible average of all of the integers of \( S \). Express your answer as a single number.
test