Brazilian private education company Cogna Educação said late Monday that it agreed to trade assets with rival Eleva Educação in a deal that sees it spend a net BRL384 million ($70.6 million) in cash and bonds.

Belo Horizonte-based Cogna said it will buy Eleva’s learning system for BRL580 million and sell 51 K-12 schools for BRL964 million in the same deal.

Somos Sistemas de Ensino, owned by Cogna subsidiary Vasta Educação, will pay 16.6 times 2020 EBITDA for the education platform, subject to price adjustments based on Eleva’s earnings in 2021 and 2022, Cogna said in a securities filing.

Cogna, the largest private education group in Brazil, sold the K-12 schools for 16.3 times 2020 EBITDA. It will receive BRL625 million in cash over five years and BRL339 million in convertible debentures that can be turned into Eleva shares if the company carries out an initial public offering (IPO), Cogna said.

Eleva, backed by billionaire investor Jorge Paulo Lemann, hired three investment banks – Morgan Stanley, Goldman Sachs and Itaú BBA – in August last year to arrange a possible IPO worth an estimated BRL1.5 billion, according to press reports at the time.

Cogna and Eleva confirmed they were in negotiations to trade assets in early January but did not provide details of the deal.

Cogna raised BRL2.56 billion in a shae sale in February last year and allocated the proceeds for acquisitions in the higher education sector. It listed shares in its K-12 subsidiary Vasta Educação on the Nasdaq in an initial public offering (IPO) worth $353 million in August 2020.

Shares in Cogna slipped 0.5% to close at BRL3.96 on Tuesday, while Vasta’s shares dropped 1.8% to $14.20.