FTFY
The specific classes don't matter as much as (a) the challenges they face and (b) the gap between them. A group like that might struggle through a premade or challenge campaign, but if the DM is tailoring the obstacles to them they will do just fine. Nobody is really in a position to totally outshine anyone else.