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.

[EX Q]: 1, ['O', '6951', '5741']
[EX A]: O, 6951

[EX Q]: 2, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']
[EX A]: 8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z

[EX Q]: 9, ['1587', '8273', 'f', 'O', '8431', 'V', 'g', 'D', 'Q', '5087', '6435', '669', 't', '4857', '8121', 'C', 'C', '7953', '5457', '8197', '8137', '4367', '763', '3031', '593', '8797', '6485', 'K']
[EX A]:
1587, 8273, f, O, 8431, V, g, D, Q, 5087, 6435, 669, t, 4857, 8121, C, C, 7953, 5457