def fashionably_late(arrivals, name):
    """Given an ordered list of arrivals to the party and a name, return whether the guest with that
    name was fashionably late.
    """
    if len(arrivals) >= 3:
        # first fashionably late
        if len(arrivals) % 2 == 0:
            index = (len(arrivals)//2)
        else:
            index = (len(arrivals)//2) + 1
        return name in arrivals[index:-1]
    else:
        return False