<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["en", "es"].<end_of_turn>
<start_of_turn>user
Write a Python program to combine two dictionary adding values for common keys.<end_of_turn>
<start_of_turn>model
de colecciones importar contador

def combinar_diccionarios(dict1, dict2):
    return dict(Contador(dict1) + Contador(dict2))

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