Input (grade 2): He was long a professor at the École des Beaux-Arts.
Output (grade 4): He was a professor at the &#201; cole des Beaux &#45; Arts for a long time.