The idea is to repeat list\'s elements with each diffrent n times as below.
n
ls = [7, 3, 11, 5, 2, 3, 4, 4, 2, 3] id_list_fname = [\'S11\', \'S15\', \