There were 35 people attending the Little League baseball game. The difference between the number of women and men at the game was 9.

Let x represent the number of women and y represent the number of men. The following system of equations represents this situation:

x+y=35

x−y=9

How many women and men were at the game?