Classify each of the following variables as either categorical or numerical.
a. Color of an M\&M candy selected at random from a bag of M\&M's
b. Number of green M\&M's in a bag of M\&M's
c. Weight (in grams) of a bag of M\&M's
d. Gender of the next person to purchase a bag of M\&M's at a particular grocery store