Question: When did Balfour last hold the titles of prime minister and Chancellor of the Exchequer?
Sentence: The prime minister sits in the cabinet solely by virtue of occupying another office, either First Lord of the Treasury (office in commission), or more rarely Chancellor of the Exchequer (the last of whom was Balfour in 1905).
Answer in sentence: yes