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, ['839', '5995', '359', '497', '7397', 'g', 'T', 'o', 'd', '8979', 'h', 'e', '497', 'Y', '4977']
Example Output: 839, 5995, 359, 497, 7397, g, T, o

Example Input: 1, ['819', '2779', 'j', '1773', '6615', 'Q', 'n', '5113', 'v']
Example Output: 819, 2779, j, 1773, 6615, Q, n, 5113

Example Input: 7, ['2135', '9589', 'H', 'd', 'd', 'L', 'r', 'u', '1047', '2895', '5825', 'k', '3381', '429', 'Y', '1449', 'o', '5113', '909', 'm', '6561', '2065', '6143', 'W', '1627', 't', '9139', '7587']
Example Output:
2135, 9589, H, d, d, L, r, u, 1047, 2895, 5825, k, 3381, 429, Y, 1449, o, 5113, 909, m, 6561