Input (grade 3): Needham (1986), Volume 4, Part 2, 396 400.
Output (grade 2): Needham, Volume 4, Part 2, 376.