<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def merge_dicts(*dicts, **kwargs):
 """Merges dicts and kwargs into one dict"""

    result = {}
    for d in dicts:
        result.update(d)
    result.update(kwargs)
    return result