('CID100008924', 2),bis-(Hexamethylene)triamine ('CID100008924', 2),Bis(hexamethylene)triamine ('CID100118717', 2),Bis(Hexamethylene Triamine Penta ('CID100118717', 2),Bis(hexamethylene)triamine-pentakis(methylphosphonic acid) solution ldiff: defaultdict(, {'CID100008924': [1, 0], 'CID100118717': [6, 41]}) f1: [1, 0] f2: [6, 41] c1: Counter({0: 1, 1: 1}) c2: Counter({41: 1, 6: 1}) The chosen was ... CID100008924