from typing import Any
from typing import List


def lst(*a: Any) -> List[Any]:
    """Returns arguments *a as a flat list, any list arguments are flattened.
    Example: lst(1, [2, 3]) returns [1, 2, 3].
    """
    flat = []
    for v in a:
        if isinstance(v, list):
            flat.extend(v)
        else:
            flat.append(v)
    return flat