First logic for summing medals