Check this website.
http://www.gearhack.com/myink/ViewPage.php?file=docs/Subaru%20Transmission%20Chart
Actually, this PDF is better. The first is missing quite a few transmissions.
https://www.rallispec.com/downloads/Transmission%20ID%20Chart_Public.pdf