from typing import Iterable
from typing import Generator


def flatten(collection: Iterable[Iterable]) -> Generator:
    """Flatten list of lists in one plane list"""
    return (item for sublist in collection for item in sublist)