A restaurant in a survey among 100 customers to find their food preferences. The customers were asked about their preferences for pasta or rice. Out of the total 30 people who liked Pastor, 10 also liked rice. There were 40 people who like rice.