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.

Ex Input:
4, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']

Ex Output:
6995, e, o, O, i, m, R, g, 8387

Ex Input:
4, ['5805', '6691', 'n', 'Z', 'U', '5017', '499', '7849', 'L', 'l']

Ex Output:
5805, 6691, n, Z, U, 5017

Ex Input:
12, ['729', '2333', '3937', '9107', 'e', '3631', 'J', '4371', '3501', '2139', '8951', 's', '9805', '2741', '7283', 'U', 'J', '805', '1253', 'v', '5681', '3939', 'J', '2479', '3637', 'l', 'H']

Ex Output:
729, 2333, 3937, 9107, e, 3631, J, 4371, 3501, 2139, 8951, s, 9805, 2741, 7283