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: 4, ['G', 'h', 'w', 'W', '4523', 'Y', '2765', '401', 's', '3931', 'z', '6741', 'N', '4359', 'a', '153', 'L', 'T', 'e', '8181', 'V', '2209']
Example Output: G, h, w, W, 4523, Y, 2765, 401, s, 3931, z, 6741, N, 4359, a, 153, L, T

Example Input: 8, ['3863', '9427', '8093', 'g', '7711', 'T', 'h', 'i', 'a', '4435', 'V', '9541', '1355', '3987', 'w', 'r', '9843', '2299', 'N', '4891', 'w', '1907', '9111', '6405', 'l', '5311', '3407']
Example Output: 3863, 9427, 8093, g, 7711, T, h, i, a, 4435, V, 9541, 1355, 3987, w, r, 9843, 2299, N

Example Input: 2, ['5973', 'K', '3085', '5633', '9903', 'f', '9003', '7255', 'H', 'r', 'n', 'L', '9537', '2765', '167', '6339', '6739', '5601', 'F', 'b', 'n', 't', 'T', '4349']
Example Output:
5973, K, 3085, 5633, 9903, f, 9003, 7255, H, r, n, L, 9537, 2765, 167, 6339, 6739, 5601, F, b, n, t