Input (grade 13): At last he was transferred back to a gymnasium in Vienna after a recommendation from Exner and worked there until his retirement in 1918.
Output (grade 4): He worked in a secondary school there until his retirement in 1918.