def merge_dicts(*args, **kwargs):
    """Outputs a merged dictionary from inputs. Overwrites data if there are conflicts from left to right.

    :param args: (dict), tuple of input dictionaries
    :param kwargs: dict, input kwargs to merge
    :return: dict, combined data.
    """
    data = {}
    for input_dict in [arg for arg in args if isinstance(arg, dict)] + [kwargs]:
        data.update(input_dict)
    return data