Input (grade 12): He was a mathematician, astronomer, geographer and astrologer.
Output (grade 12): He was an astronomer, mathematician, and geographer.