def mode(data):
    modecnt = 0
    for i in range(len(data)):
        imode = data.count(data[i])
        if imode > modecnt:
            modecnt = imode
            mode = data[i]
    return mode

53d998b4d7de7f462272bfd15e1f7375d86a0126
<mask token>

def mode(data):
    modecnt = 0
    for i in range(len(data)):
        imode = data.count(data[i])
        if imode > modecnt:
            modecnt = imode
            mode = data[i]
    return mode
