In how many ways 50 people can be divided into 3 groups, so that cache group contains members equal to a prime number?