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: 7, ['7721', 'W', 'o', 'R', '2933', 'N', '9829', '707', 'A', 'a', '8035', 'i', 'B', 'j', '319', 'v', '5879']
Example Output: 7721, W, o, R, 2933, N, 9829, 707, A, a

Example Input: 3, ['w', '273', '3987', 'J', 'm', 'v', '321', '8839', 'e', 'E', '5029', '1825', 't', 'a', '1257']
Example Output: w, 273, 3987, J, m, v, 321, 8839, e, E, 5029, 1825

Example Input: 8, ['G', 'F', '7047', '9475', '1757', '1229', 'J', '1967', 'N', '3961', 's', '5913', '5805', 'x', '5563', '3017', '3113', '9905', '8179', '539', '8841', 'J', 't', 'y', 's', 'a', '9865', '6599', '5245', 'm']
Example Output:
G, F, 7047, 9475, 1757, 1229, J, 1967, N, 3961, s, 5913, 5805, x, 5563, 3017, 3113, 9905, 8179, 539, 8841, J