In a football season, the number of goals scored by two teams, A and B, are given in the table below. Which team is more consistent?

Number of goals in a match: 0 1 2 3 4
Team a ________. 27 9 8 5 4
Team B: 17 9 6 5 3