The number of women at a training workshops was two less than three times the number of men. If 50 people attended the workshops, how many were women?