<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mode(data):
 """ Return the modal value of a iterable with discrete values. If there is more than 1 modal value, arbritrarily return the first top n. """

    c = Counter(data)
    mode, freq = c.most_common(1)[0]
    return mode