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]: 7, ['P', '4745', '4089', '9623', 'y', 'H', '265', 'b', '4689', '7359', 'E', '3247', 'y', '3371', '1203', '7315', '951', '4745', '4381', '901', 'b', '1871', '9831', 'q', '7527', 'd']
[A]: P, 4745, 4089, 9623, y, H, 265, b, 4689, 7359, E, 3247, y, 3371, 1203, 7315, 951, 4745, 4381


[Q]: 14, ['1353', 'Y', '6075', '7087', '1585', '9445', '6611', 'K', 'R', 'Q', '5053', '2119', 'H', '27', 'Q', '5661', '6193', '6923', 'M', 'E', 'L', 'X', '7085', 'w', '5061', '6093', '3415', '7009', '6893']
[A]: 1353, Y, 6075, 7087, 1585, 9445, 6611, K, R, Q, 5053, 2119, H, 27, Q


[Q]: 10, ['a', '8257', 'H', '2181', 'p', '8185', '5173', 'j', 'c', '3883', 'Z', '2279', 'g', 'E', '5663', '4907', 'H', '8323', 'S', '9983', '183', 'a', '2595', 'T', 'm']
[A]:
a, 8257, H, 2181, p, 8185, 5173, j, c, 3883, Z, 2279, g, E, 5663