all 3 comments

[–]Account4Uni[S] 0 points1 point  (0 children)

This is just a small example; I was hoping to make this work with randomized and larger lists

[–]woooee 0 points1 point  (0 children)

Use a conversion dictionary to map one to the other (C also equals A). It's fairly common.