Please check if these have the same meaning. Answer "yes" if they do, otherwise "no".
Ahmad of Shirvan was the eighth Shirvan Shah and the fourth Shah of Layzan .
Ahmad of Shirvan was the eighth Shah of Shirvan and fourth Shah of Layzan .
yes