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.

Example Input: 2, ['c', '2337', '5909', '2409', '6989', '7645', '469', '9185', '6869']
Example Output: c, 2337, 5909, 2409, 6989, 7645, 469

Example Input: 5, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']
Example Output: h, 5371, Y, E, 4733, 9039, w, p

Example Input: 2, ['f', '8489', '6097', '3145']
Example Output:
f, 8489