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, ['313', '8573', 'h', 'w', '8833', 'Q', 'd', '5285', '4051', 'R', 'o', 'V', 'U', '965', '4407', '2599', 'u', 'f', '8137', 'G', '5315']
[EX A]: 313, 8573, h, w, 8833, Q, d, 5285, 4051, R, o, V, U, 965, 4407, 2599, u, f, 8137, G

[EX Q]: 10, ['545', 'j', '1823', '139', '197', '7565', '3227', 'q', '9475', 'N', 'V', 'f', '1819', 'Q', 'T', '5103', '5601', '1843', 'E', 'U', 'B']
[EX A]: 545, j, 1823, 139, 197, 7565, 3227, q, 9475, N, V

[EX Q]: 11, ['7017', 'c', 'Z', 'a', '5629', 'b', 'e', '5139', 'V', 's', 'm', 'Z', '6831', 'J', 'W', 'r', '8429', '5805', 'c', '3683', 'b', 'J', 'Z', '9183', 'j', 'p', '4451']
[EX A]:
7017, c, Z, a, 5629, b, e, 5139, V, s, m, Z, 6831, J, W, r