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, ['N', 'v', '8691', '5807', '3911', '5277', '7007', 'w', 'v', 'W', '8657', '6835']
Example Output: N, v, 8691, 5807, 3911, 5277, 7007, w, v, W

Example Input: 2, ['s', '8339', 'x', 'H']
Example Output: s, 8339

Example Input: 13, ['u', 'H', 'X', 'K', '6271', 'M', 'e', 'l', '2905', '7637', '2269', '3319', '1937', '1347', 'y', '2975', 'g', '4077', 'E', '1793', '9455', '4029', 'D', 'o', '3093', 'H', 'I', 'M']
Example Output:
u, H, X, K, 6271, M, e, l, 2905, 7637, 2269, 3319, 1937, 1347, y