(a) reduced the amount of salaries or wages for the purpose of computing,i. in the case of assistance referred to in subparagraph a of the first paragraph of section 1029.8.36.72.82.6, the amount that the qualified corporation is deemed to have paid to the Minister for a taxation year under subparagraph a or a.1 of the first paragraph of any of sections 1029.8.36.72.82.2, 1029.8.36.72.82.3, 1029.8.36.72.82.3.2 and 1029.8.36.72.82.3.3, or
ii. in the case of assistance referred to in subparagraph b of the first paragraph of section 1029.8.36.72.82.6, the excess amount referred to in subparagraph a or c of the first paragraph of section 1029.8.36.72.82.4 or in any of paragraphs a to c of section 1029.8.36.72.82.4.1 or 1029.8.36.72.82.4.2, as the case may be, determined, in respect of a calendar year, in relation to all of the qualified corporations that are associated with each other;