from typing import List
from typing import Tuple


def flat(data: List[Tuple]):
    """
    Removes unnecessary nesting from list.
    Ex: [(1,), {2,}, {3,}] return [1, 2, 3]
    """
    if not data:
        return data
    return [d for d, in data]