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, ['D', '3039', '9407', '8733', 'm', 'e', 'a', 'A', '595', 'c', 'M', '3127', 'k', '9125', 'd', 'u', 'x', '3267', '4779', '9825', '6539', '5735', '9161']
Example Output: D, 3039, 9407, 8733, m, e, a, A, 595, c, M, 3127, k, 9125, d, u

Example Input: 3, ['s', '9987', 'K', '7179', 'n', '3185', 'x', '6049', '4093', 'o', '9415', '763', '3095', 'l', 'T', 's', 'K']
Example Output: s, 9987, K, 7179, n, 3185, x, 6049, 4093, o, 9415, 763, 3095, l

Example Input: 1, ['3499', '5791', 'x', 'p', '7065', '2071', 'L', 'X', '6385', '6659', '7705', 'a', 'b', '1773', '3789', 'd', 't', '4569', '2031', 'L', '4813', 't', 'o', '4997', '7011', '5675', '3765', '5799', '7821']
Example Output:
3499, 5791, x, p, 7065, 2071, L, X, 6385, 6659, 7705, a, b, 1773, 3789, d, t, 4569, 2031, L, 4813, t, o, 4997, 7011, 5675, 3765, 5799