from typing import List


def unique(ll: List) -> List:
    """Return unique elements in a list preserving order."""
    ret = []
    for x in ll:
        if x not in ret:
            ret.append(x)
    return ret