Input (grade 4): They were in turn replaced on this line by Class 117 power twins.
Output (grade 4): They were in turn replaced on this line by class 117 power twins.