FirstNotScanned(list, race);
In the given list, which is the first ship that the ’race’ race did not scan yet. If there is no such ship, than the value is 0.