Cindy sells wooden toys for $5 each and plastic toys for $3 each for a charity event. Last weekend she sold 42 toys, and she raised a total of $174. How many wooden toys did she sell that weekend?