Statistics of a frequency distribution

Consider the following frequency distribution:

Value458961211
Frequency52113

Suppose that the sum of the frequencies is and the median of this frequency distribution is

For the given frequency distribution, let denote the mean deviation about the mean, denote the mean deviation about the median, and denote the variance.

Match each entry in List-I to the correct entry in List-II and choose the correct option.

List-IList-II
(P)
is equal to
(1)
(Q)
is equal to
(2)
(R)
is equal to
(3)
(S)
is equal to
(4)
(5)