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]: 3, ['2181', '4599', 'D', 'z', '9097', '9267', 'q', '71', 'w', 'D', 'K', 'V', '2653', '2427', '1471', '733', '6887', '2789', 'G', 'S', '8401', '8327', '307', 'r', 'n', 'u']
[EX A]: 2181, 4599, D, z, 9097, 9267, q, 71, w, D, K, V, 2653, 2427, 1471, 733, 6887, 2789, G, S, 8401, 8327, 307

[EX Q]: 5, ['s', 'i', '3295', 'n', '1193', 'c', 'Z', 'x', '6739', 's', '8097', '3231', 'D', 'Q', '5999', 'E']
[EX A]: s, i, 3295, n, 1193, c, Z, x, 6739, s, 8097

[EX Q]: 3, ['2719', '1583', 'i', '6121', 'Y', 'W', 'S', 'O', 'K', '1925', '1049', '4391', 's', 'F', '7921', '8117', 'L', 'J']
[EX A]:
2719, 1583, i, 6121, Y, W, S, O, K, 1925, 1049, 4391, s, F, 7921