How can I Construct a frequency table to show this data ? and how can I use it in groups 0-4,5-9,10-14,15-19 and 20-24?

We have the following data: 21, 20, 0, 12, 1, 11, 0, 3, 1, 4, 9, 1, 9, 0, 13, 3, 7, 18, 8, 4, 7, 18, 0, 4, 1, 2, 0, 12, 12, 16.
We have to make a table with the following columns:
• element,: a number,
,• frequency,: the number of times that the element appears in the list,
,• cumulative frequency,: the sum of the frequencies until that element,
,• relative frequency,: the quotient of the frequency and the total number of elements,
,• cumulative relative frequency,: the sum of the relative frequencies until that element.
Answer
Ordering the elements and computing the elements above, we get the following table: