In the formula in subparagraph b of the first paragraph,(a) A is the lesser of $500 and the undepreciated capital cost of property of the class to the taxpayer as of the end of the year (before making any deduction under paragraph a of section 130 of the Act in respect of the class for the year); and
(b) B is the total of all amounts deductible for the year under paragraph a of section 130 of the Act in respect of the class because of subparagraph a of the first paragraph or paragraph n.1 of section 130R22.