Each of the ID numbers issued to Mr. Abbado and Mr. Brenner consists of the digits 1 to 9 with each digit occurring exactly once such that:
(i) The sum of the digits 1 and 2 and all the digits between them is 12.
(ii) The sum of the digits 2 and 3 and all the digits between them is 23.
(iii) The sum of the digits 3 and 4 and all the digits between them is 34.
(iv) The sum of the digits 4 and 5 and all the digits between them is 45.
Given that the ID number of Mr. Abbado is greater than that of Mr. Brenner, determine the ID numbers issued to each of the two gentlemen.