Dictionary key-value pairs interchange, the value is not unique.
input : {\'A\':[1,2,3],\'B\':[2,3,4]} output: {1:[\'A\'],2:[\'A\',\'B\'],3:[\'A\',\'B\'],4:[\'B\']}