Skip to the content.

Jerseys

Problem description here

Solution Code

Approach

There can only be one athlete who gets each jersey number therefore the only thing necessary for being checked is whether the number at which the athelete wants the jersey has a jersey that satisfies them. If multiple atheletes want the same jersey only one can be satisfied anyways.