the problem is an image so I\'ll try to abbreviate and write it out:
there are 2 football teams. For every match of team B compute the total number of matches that te