Input (grade 8): In the Russian Navy the equivalent rank to commander is "captain of the second rank".
Output (grade 9): A commander in the Royal Navy is above the rank of Lieutenant-Commander, below the rank of Captain.