Return list of keys that exist in both dicts with the same value. Return the keys in the order they appear in the first dictionary.
Implement this function:
def common_keys_same_values(d1: dict, d2: dict) -> list:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: d1, d2.
Input
{'a': 1, 'b': 2, 'c': 3}
{'a': 1, 'b': 5, 'd': 3}
Output
['a']