list1 = [123, 123, 123, 456]
list2 = ['word1', 'word2', 'word3', 'word4']
I want the output to be a python dictionary,
d = {123 : ['word1', 'word2', 'word3'], 456 : 'word4'}
I have multiple occurrences of values in list one, I want to map all the values of list2 to list1 without key repetition.