A person is in control of a corporation if such person owns stock possessing more than 50 percent of the total combined voting power of all classes of stock entitled to vote, or more than 50 percent of the total value of shares of all classes of stock, of a corporation. If a person is in control (within the meaning of the preceding sentence) of a corporation which in turn owns more than 50 percent of the total combined voting power of all classes of stock entitled to vote of another corporation, or owns more than 50 percent of the total value of the shares of all classes of stock of another corporation, then such person shall be treated as in control of such other corporation. For purposes of this paragraph, the rules prescribed by section
318
(a) for determining ownership of stock shall apply; except that—