 Whenever the vice president and majority of either of the principal officers of the executive departments are such, so the cabinet can invoke the 25th Amendment, or such other body as Congress may by law provide their written declaration that the president is unable to discharge the powers and duties of his office, the vice president shall immediately assume the powers and duties of the office as acting president.