During a tournament, seven football teams, three European, three South American, and one from Africa, scored a total of 89 goals.
The number of goals scored by the African squad was relatively prime (i.e. had no common divisor) with that of any of the other six teams.
On the other hand, the numbers of the goals scored by any two European teams did have a common divisor greater than one, and so did those of any two South American teams.
However, except for two instances (involving altogether four teams), the numbers of goals scored by a European team and a South American one were always relatively prime.
How many goals did the African team score during the tournament?