I am dealing with lists ls that look like the following:
ls
ls = [\'y4\',\'j8\',\'Le1\',\'Retx3\',\'MNxe4\',\'Xe4\',\'Xf4\',\'Xe5\']
Gi