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]: 4, ['8667', 'w', 'M', '3117', 'r', '7759', 'B', 't', 'r', '7625', 'H', 'Y', '2613', '3595']
[EX A]: 8667, w, M, 3117, r, 7759, B, t, r, 7625

[EX Q]: 7, ['l', 'G', 'r', '4597', 'd', 'o', '3083', '6629', '125', 'N', 'g', 'N', 'O', '7059', 'A', 'P', 'T', 'c', 'Z', 'I', 'w', 'd', 'T', '6261']
[EX A]: l, G, r, 4597, d, o, 3083, 6629, 125, N, g, N, O, 7059, A, P, T

[EX Q]: 1, ['3485', 'z', '4629', 'c', '9481', '6687', '8621', 'R', 'z', 'c', 'a', '4551', 'K', 'M', '9107', '5187', 'r', 'a', 'f', 'y', 'q', 's', '7049', '5279', 'n', '697', 'y', 'i', 't']
[EX A]:
3485, z, 4629, c, 9481, 6687, 8621, R, z, c, a, 4551, K, M, 9107, 5187, r, a, f, y, q, s, 7049, 5279, n, 697, y, i