Question: How long did the parliament have until the next election?
Sentence: The council was tasked with electing a president to serve prior to elections in 18 months.
Answer in sentence: yes