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: 11, ['l', '331', 'e', 'd', '2135', 'E', 'D', '8433', '4443', 's', 'E', '9205', '4027', '9531', '3607', 'Z', 'o', 'U', 'D', '6289', 'p', 's', '5741']
Example Output: l, 331, e, d, 2135, E, D, 8433, 4443, s, E, 9205

Example Input: 5, ['b', 'Z', 'y', '9217', 'v', '3645', '6673', 'I', 'r', 'J', '7361', '8343', 'B', '2863', 'F', '1469']
Example Output: b, Z, y, 9217, v, 3645, 6673, I, r, J, 7361

Example Input: 1, ['I', '6911', '435', '6903', 'U', 'A', 'W', '6937', '5339']
Example Output:
I, 6911, 435, 6903, U, A, W, 6937