To form first group of 10 participants you have ways. After that only 30 volunteers left and to form second group of 10 participants you have ways. After forming second group 20 volunteers left and to form third group of 10 participants you have ways. At last, 10 volunteers left and to form fourth group of 10 participants you have ways.
Use product rule to count the total number of possible ways:
9.4m questions
12.2m answers