Input (grade 12): A commander in the Royal Navy is above the rank of lieutenant-commander, below the rank of captain, and is equivalent in rank to a lieutenant colonel in the army.
Output (grade 8): A commander in the Royal Navy is above the rank of Lieutenant-Commander, below the rank of Captain. It is equivalent in rank to a Lieutenant Colonel in the British Army and Wing Commander in the Royal Air Force.