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, ['6621', 'R', 'w', '501', 'H', 'a', 'P', '203', '1433', 'z', 'R', 'G', 'U', 'V', 'F', 'B', 'O', 'H', '1915', 'P']
[EX A]: 6621, R, w, 501, H, a, P, 203, 1433, z, R, G, U, V, F, B, O, H, 1915

[EX Q]: 3, ['m', 'h', '2103', 'c', 'W', '6041', 'X', '9203', 'p']
[EX A]: m, h, 2103, c, W, 6041

[EX Q]: 7, ['b', 'D', '1179', 'q', 'R', 'J', '4387', 'd', '2097', '9889', 'S', '8031', 'n', 'h', 'G', 'q', 'w', 'N', '3021', '8813', '2727', 'I', 'Y', 'E', '5157', '7097', 'U']
[EX A]:
b, D, 1179, q, R, J, 4387, d, 2097, 9889, S, 8031, n, h, G, q, w, N, 3021, 8813