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.