def listrun(pattern, values):
    """Find runs in a pattern containing elements from given values"""
    runs = list()
    run = list()
    for i in pattern:
        if i in values:
            run.append(i)
        else:
            if len(run) > 1:
                runs.append(run)
                run = list()
            elif len(run) == 1:
                run = list()
    if len(run) > 1:
        runs.append(run)
    return runs