Some people think Raikage dominates all but I'd give Pein the win.
B's the problem here but Pein's smarter than both of them. If Pein gets his chakra suck path on B, B's going down similar to how samehada was about to take him down. Then Pein just overpowers A.
Although in a 2v1 A and B could also claim a win.