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: 10, ['1647', 'E', 'J', 'B', 'S', 'X', '7779', '931', 'N', 'k', 'o', '1049', 'e', '4723', 'u', 'r', 'O', 'E', '6311', 'F', '4437']
Example Output: 1647, E, J, B, S, X, 7779, 931, N, k, o

Example Input: 3, ['6559', 'R', '4925', 'c', '5437', 'I', '6551', '2853', 'j', '2775', '3157', 'X', '1467', '869', '2837', '1001', 'e', '7835', '9059']
Example Output: 6559, R, 4925, c, 5437, I, 6551, 2853, j, 2775, 3157, X, 1467, 869, 2837, 1001

Example Input: 9, ['f', 'Q', '9125', '9823', 'o', 'R', 'i', '2491', 's', 'j', 'a', '9071', 'y', '6207', 'x', 'n', '2941', 'w', '1465', 'i', 'O', '2563', '7025', 'f', '1723', '6637', '7083', 'j', '4143', 'h']
Example Output:
f, Q, 9125, 9823, o, R, i, 2491, s, j, a, 9071, y, 6207, x, n, 2941, w, 1465, i, O