If it helps this gemstone publishing site seems to list most (if not all) of the different versions:
https://gemstonepub.com/price-guides/comic-book-price-guides/?sort=newest&limit=100&mode=1&page=1
Specifically, for #39, there appears to be:
CB Item # Site description
---------- -----------------
HC 39/A HC Avengers 7.0 x 9.25 $35.00
TPB 39/A SC Avengers6.5 x 9.25 $30.00
(no cover, assuming you want both Avengers cover to be the same variation of A)
HC 39/B HC Invaders 7.0 x 9.25 $35.00 (Captain America, Human Torch, Sub-Mariner)
SC Invaders 6.5 x 9.25 $30.00 (Captain America, Human Torch, Sub-Mariner)
Not in CB. Probably TPB 39/B
SC Mass Market edition 6.5 x 9.25 $30.00 (the JSA with the yellow background)
Not in CB. Same size as other SC, so probably TPB 39/C