The task is to generate the correct answer for a given math problem.

Problem: the average of 9 observations was 8 , that of the 1 st of 5 being 10 and that of the last 5 being 8 . what was the 5 th observation ?
18