Two girls and three boys are representing a team in a rowing competition. If the two girls can't sit at the two ends, what are the number of ways the competitors can sit in a line?