def intersection(a, b):
    """
    Returns elements common to a and b.

    https://stackoverflow.com/questions/3697432/how-to-find-list-intersection

    :param a:
    :param b:
    :return:
    """
    return list(set(a) & set(b))