Input (grade 9): When the new Bundestag was constituted on 18 October, however, he failed three times to be elected.
Output (grade 7): When the new Bundestag met on October 18, however, he failed three times to be elected.