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.

Q: 3, ['7269', 'B', 'R', '5389', '2109', '7927', '4151', '4607', 'L', 'o', '8509', 'm', 'Y', 'K', 'Z', '1593', 'q', '6293', 'a']

A: 7269, B, R, 5389, 2109, 7927, 4151, 4607, L, o, 8509, m, Y, K, Z, 1593
****
Q: 9, ['2975', '9501', '5493', 'T', '3115', 'p', 'V', 'B', 'A', 'a', 'I', '943', 'd', '3095', 'Y', 'y', '99', 'z', '9949', 'c', '3851']

A: 2975, 9501, 5493, T, 3115, p, V, B, A, a, I, 943
****
Q: 14, ['W', '4873', '6699', '8729', '1105', '4851', 'm', '8075', 'H', '9247', '3593', '7641', '6949', 'i', 'A', '2735', '5733', '377', 'b', 'R', 'U', '5119', 'L', '1179', 'A', 'O', '2257', '3559', 'B']

A:
W, 4873, 6699, 8729, 1105, 4851, m, 8075, H, 9247, 3593, 7641, 6949, i, A
****