(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.18, 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 section 1029.8.36.72.82.14 or 1029.8.36.72.82.15, or
ii. in the case of assistance referred to in subparagraph b of the first paragraph of section 1029.8.36.72.82.18, the aggregate and the excess amount referred to, respectively, in paragraphs a and c of section 1029.8.36.72.82.16 or paragraphs a to c of section 1029.8.36.72.82.16.1, as the case may be, and determined, in respect of a calendar year, in relation to all of the qualified corporations that are associated with each other;