We would lose hard here is why
First off there is 99,000,000,000,000 x 6 witch is aprox. 540,000,000,000,000 and we have maybe 60 some thousand and most of that number is the shinobi army which lets be honest arent super capable well at least not without some of the brains and power players. Id say the shinobi army could take down maybe 3 pains if they were 3 v 60k but that would be on best terms for the army and they'd have to ave the pains separated. after that it would be a blood bath for them next we have avatars and some of the soul society because a good number can't fight near the level of ultra instinct faster than light pains. we are left with a good amount of power players to use against the pains and if we are lucky I think we could use Superman the Flash, Shazam, Professor X, Ichigo, Aizen, 13 Squad captains, Not sure about infinity war heroes I havnt seen the show, nor Inuyusha, Can use Neo, 4 Kokge, RWBY, Medaka, Naruto and Sasuke, Good Number of the Tourny of power. The only way I think we could defeat really any of them is with Prof. X and with him we would need to for a circle around hime in a defensive formation so when any pain comes within a curtain area Prof. can either make him lose consciousness or something like that and we may be able to take down aprx 1000-5000 after that we would lose because of exhaustion or the pains would get smart and perform a massive planetary devastation that could be galaxy large and that would take down pains in the process but not vary many thus leaving maybe superman and a few others would easily be taken down by the remaining pains but in the end one of the pains and revive all the others making them lose no numbers and us ultimately failing.
Sorry I actually had a little longer one written out a week ago but my power went out and it didn't save and i was F*** and forgot.