For the purposes of these formulas,(1) A is the total number of nights for which short-term accommodation included in the tour package is made available under the agreement for the supply;
(1.1) B is the total number of nights for which camping accommodation included in the tour package is made available under the agreement for the supply;
(2) C is the total number of nights for which short-term accommodation, or camping accommodation, included in the tour package is made available under the agreement for the supply of the tour package;
(3) D is the number of nights the individual not resident in Canada to whom the short-term accommodation or camping accommodation is made available spends in Québec during the period beginning on the earliest of the first day on which overnight lodging included in the tour package is made available to the individual, the first day on which camping accommodation included in the tour package is made available to the individual and the first day any overnight transportation service included in the tour package is rendered to the individual and ending on the latest of the last day on which overnight lodging is made available to the individual, the last day on which camping accommodation is made available to the individual and the last day any such transportation service is rendered to the individual; and
(4) E is the tax paid by the person in respect of the supply of the tour package.