Input (grade 7): He attended Harvard University, where he received his A.B., summa cum laude, and S.M. in applied mathematics in 1973. He completed his Ph. D. in applied mathematics from Harvard University in 1976.
Output (grade 6): He attended Harvard University, where he received his A.B., S.M. (1973), and Ph. D. (1976), all in applied mathematics.