If for any taxable year a corporation has a net capital gain and any rate of tax imposed by section
11,
511, or
831
(a) or (b) (whichever is applicable) exceeds 35 percent (determined without regard to the last 2 sentences of section
11
(b)(1)), then, in lieu of any such tax, there is hereby imposed a tax (if such tax is less than the tax imposed by such sections) which shall consist of the sum of—