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: 2, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']
Example Output: 3727, R, h, 1969, v, 5353, A, t, 2237, j

Example Input: 14, ['G', '5405', '4479', 'V', '9657', 't', 'M', '3929', '4503', '4741', 'k', 's', 'R', 'K', '2139', '9701', '3753', '5369', 'd', '29', 'u', '8415', 'Z', 'x', 'Q', '7263', '7257', '6581', 'V']
Example Output: G, 5405, 4479, V, 9657, t, M, 3929, 4503, 4741, k, s, R, K, 2139

Example Input: 3, ['6877', 'l', 'K', '717', 'w', 'O', 'K', '8561', '8341', '3075', 'D', '4479', 'I', '975', 'Z', 'c', '2695', '6713', '3685', '7627', 'x', '4263']
Example Output:
6877, l, K, 717, w, O, K, 8561, 8341, 3075, D, 4479, I, 975, Z, c, 2695, 6713, 3685