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.

3, ['V', '4605', '8081', '3723', 'y', '3045', 'P', '1013', '5441']
V, 4605, 8081, 3723, y, 3045

2, ['G', 'I', 'x', 'h', 'x', '4129', '63', 'm', 'e', '471', '2613', '5909', 'o', '8037']
G, I, x, h, x, 4129, 63, m, e, 471, 2613, 5909

9, ['e', 'q', 'T', '5339', '3931', 'Y', 'B', 'W', '3473', '4005', '3131', 'X', 'M', '1557', 'R', '1529', 'R', 'e', '4749', '4943', 'g', '7131', '949', '1185']

e, q, T, 5339, 3931, Y, B, W, 3473, 4005, 3131, X, M, 1557, R