In a statistical analysis of the monthly spending habits of 25 households, the following data was collected, representing the amount spent (in dollars) on groceries over a period of six months:
230, 250, 240, 300, 280, 270, 260, 245, 285, 320, 310, 295, 305, 215, 225, 215, 230, 250, 245, 260, 250, 275, 290, 305, 315.
Using the data, determine the mean and median of the monthly spending on groceries. Based on these calculated values, evaluate the relationship between the two quantities:
Quantity A: The mean monthly spending on groceries.
Quantity B: The median monthly spending on groceries.