def truncator(n):
    """Return left-right and right-left truncations of n"""
    digits = [d for d in str(n)]
    truncs = []
    for i in range(1, len(digits)):
        truncs.append(int("".join(digits[i:])))
        truncs.append(int("".join(digits[:-i])))
    return truncs