In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.
--------
Question: 5, ['9903', 'P', '1623', '5483', 'D', 'W', '689', '5935', '1897', '233']

Answer: 9903, P, 1623, 5483, D


Question: 3, ['t', 'K', 'M', 'm', 'P', '6303', '6575', '8315', 'p', '6151', 'F', '9657', '2637', 'N']

Answer: t, K, M, m, P, 6303, 6575, 8315, p, 6151, F


Question: 2, ['s', '7603', 't', 'd', '2781', '9593', '5105', '903', 'v', 'k', '5087', 'D', 'v', '8051', '7549', '8873', 'y', '563', 'G', '8817', 'c', '6635']

Answer:
s, 7603, t, d, 2781, 9593, 5105, 903, v, k, 5087, D, v, 8051, 7549, 8873, y, 563, G, 8817