### Instruction: Which of these are movies that Will Ferrell starred in and which ones did Jim Carrey star in? Elf, Anchorman: The Legend of Ron Burgundy, Step Brothers, Megamind, Zoolander, The Mask, Liar Liar, Sonic the Hedgehog, Dumb and Dumber, The Cable Guy, Ace Ventura: Pet Detective
### Response: Will Ferrell: Elf, Anchorman: The Legend of Ron Burgundy, Step Brothers, Megamind, Zoolander
Jim Carrey: The Mask, Liar Liar, Sonic the Hedgehog, Dumb and Dumber, The Cable Guy, Ace Ventura: Pet Detective