Example output
1. Tyranitar - Tyranitar has a great typing advantage over Gengar, being a Rock/Dark type, and can easily counter it with its massive attack stat. It also resists both of Gengar's STAB moves, Ghost and Poison, and its ability Sand Stream further boosts its defenses by raising its Special Defense every turn. Tyranitar's best move against Gengar would be Stone Edge, which is a powerful Rock-type move that deals heavy damage to Gengar. It also has Crunch, which is a Dark-type move that will hit Gengar super effectively and has the chance to lower Gengar's Special Defense.
2. Heatran - Heatran is another great choice to counter Gengar. As a Fire/Steel type, it resists both of Gengar's STAB moves and its ability Flash Fire makes it immune to any Fire-type moves Gengar may use. Heatran's best move against Gengar would be Magma Storm, which is a powerful Fire-type move that can trap Gengar for multiple turns. It also has Earth Power, which is a Ground-type move that will deal heavy damage to Gengar and has the chance to lower Gengar's Special Attack.
3. Latios - Latios is a great special attacker with a good typing advantage over Gengar, being a Dragon/Psychic type. It resists both of Gengar's STAB moves and its ability Levitate gives it immunity to Ground-type moves. Latios' best move against Gengar would be Draco Meteor, which is a powerful Dragon-type move that can deal heavy damage to Gengar. It also has Psyshock, which is a Psychic-type move that will hit Gengar super effectively and can even target Gengar's Defense stat instead of its Special Defense.