<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["de", "en"].<end_of_turn>
<start_of_turn>user
Schreiben Sie ein Python-Programm, um zwei Wörterbücher zu kombinieren und Werte für gemeinsame Schlüssel hinzuzufügen.<end_of_turn>
<start_of_turn>model
from collections import Counter

def combine_dictionaries(dict1, dict2):
    return dict(Counter(dict1) + Counter(dict2))

dict1 = {'a': 100, 'b': 200, 'c':300}
dict2 = {'a': 300, 'b': 200, 'd':400}
print(combine_dictionaries(dict1, dict2))  # Output: {'a': 400, 'b': 400, 'c': 300, 'd': 400}
<end_of_turn><eos>