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: 12, ['8683', '8853', 'r', '5697', 'P', '7487', 's', 'b', '5003', '6493', 'D', '1367', '4403', 'd', 'W', '5975', 'f', 'B', '8335', '899', 'x', 'G', '8921', 'd', '8455']
Example Output: 8683, 8853, r, 5697, P, 7487, s, b, 5003, 6493, D, 1367, 4403

Example Input: 4, ['1085', '1307', 'c', 'T', '7165', '9861', '3015', 'b', 'I', 'o']
Example Output: 1085, 1307, c, T, 7165, 9861

Example Input: 12, ['P', 'E', '501', 'w', 'O', '9469', 'U', '8287', '2429', '3653', '5045', '107', 'v', '2765', '6955', '6099', 'D', 'H', '17', 'u', '8939', 'R', 'f', 'o', 'z']
Example Output:
P, E, 501, w, O, 9469, U, 8287, 2429, 3653, 5045, 107, v