The provisions ofthis section shall apply to any officer or employee who was transferred from the county or the board of education of the county, to the city, and who, prior to December 31,1952, was transferred back to the county or to the board of education of the county. As to any such officer or employee, it shall be the duty of the treasurer or other person having possession of the funds belonging to the board of trustees to pay over to the board oftrustees ofthe pension fund ofthe county or the board of education of the county the following funds: (1) Any fund which may have been paid into the treasury of this pension fund by reason of the transfer of such officer or employee to the city; (2) The amount which said employee contributed to the pension fund while employed by the city; (3) Any matching funds, if any, which the city may have paid into the fund to match the amount deducted from such employee’s salary.