5 kage will shatter pain. Mei alone beats them. A lotta people been underestimating mei, but the abilities of hers are so powerful, if it was given to madara or a well portrayed character, it wouldve OP as hell. Six paths of pain are nothing before her. Lava instantly burned through rock and sealed it, something which Susanoo couldnt break out of. Mist acid melted it, something the punches of the strongest defense user couldnt even properly crack. What if she pours out an immense amount of lava capable of drowning the leaf village? She has the chakra and stamina to do so. The cool of time would entirely demolish deva and the rest of the paths, since only deva's jutsu actually does a hint of damage to mei or gokage here.... konan would be off much better use, since she can summon the paper instantly since viz doesnt say anything about time gap. Just like she summons all her other paper, she summons this too. At the cost of a highly polished and immense amounts of chakra. Kekkei genkai was implied to be unable to be absorbed, though even if thats possible, preta cannot protect everyone from being melted, only himself, the lava and mist are wide range covering. She finishes off the other paths and the other kage deals with preta. For the explosion jutsu onoki could lighten them and make them fly, but konan has shown the ability to stick and glue the paper on her target which would mean the gokages arent escaping in time = straight up killed. Low difficulty, pain and konan team wins, although 95% of the victory should be credited to konan since pain isnt doing shit here.