def counter_to_list(counter):
	"""
	Convert a Counter object to a list of elements. For each entry (element, count), the element 'element' is added
	'count' times to the list.

	:counter: The Counter object.
	:return: The list of elements.
	"""

	return list(counter.elements())