from typing import Iterable
from typing import Optional


def mconcat(xs: Iterable[Optional[str]]) -> str:
    """Concatenate strings that are not None from a sequence."""
    return ''.join([x for x in xs if x is not None])