import random


def shuffle(l):
    """
    Return a randomly shuffled list given an ordered list.
    """
    final_list = []
    for _ in l:
        final_list.append(l.pop(random.randrange(0, len(l))))
    return final_list