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: 1, ['y', 's', 'Z', '4013', 'R', '6789']
Example Output: y, s, Z, 4013, R

Example Input: 13, ['S', '5245', '3687', 'Y', '1215', 'p', 'b', 'D', 'm', '3805', 'u', 'M', 'J', 'H', 'e', 'o', 'G', '4563', '481', '3493', 'N', '8233', '799', '229', 'H', 'T', 'e', 'K', '3679']
Example Output:
S, 5245, 3687, Y, 1215, p, b, D, m, 3805, u, M, J, H, e, o