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]: 8, ['x', '9567', 'T', 'y', '2253', '7641', '5451', 'j', 'q', '6853', '4769', '9425', 'y', '61', '1439', 'A', '7223', 'R', 'c', 'n', 'N', '9237', 'V', 'V', '5655', 't']
[A]: x, 9567, T, y, 2253, 7641, 5451, j, q, 6853, 4769, 9425, y, 61, 1439, A, 7223, R


[Q]: 5, ['2905', '8299', '8635', 'e', '8833', '3137', '7109', '8535', 'y', 'o', 'c', '6837', '3693']
[A]: 2905, 8299, 8635, e, 8833, 3137, 7109, 8535


[Q]: 13, ['A', 'z', 'i', 'O', 'h', 'g', 'K', '6283', 'j', '9845', 'n', '9277', '4713', 'M', '1539', 'O', 'j', '3819', 'K', 'T', '7463', '3233', 'H', '5685', 'Y', 'F', 'W', '1103', '5119', 'x']
[A]:
A, z, i, O, h, g, K, 6283, j, 9845, n, 9277, 4713, M, 1539, O, j