Input (grade 12): All except the Coast Guard are part of the Department of Defense, which is under the authority of the Secretary of Defense, also a civilian.
Output (grade 9): All branches except the Coast Guard are part of the Department of Defense, which is controlled by the Secretary of Defense.