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: 13, ['T', 'W', '3873', '2359', '7667', '1057', 't', 'Y', 'D', '9569', 'z', '2171', '7863', 'A', '7177', 'o', '9889', '3769', 'k', '227', '6991', 'S', '4603', '7681', 'M', '1993', '5955', 'z']

A: T, W, 3873, 2359, 7667, 1057, t, Y, D, 9569, z, 2171, 7863, A, 7177
****
Q: 3, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']

A: 9317, r, h, 8465, 8803, 9133, L, R, A, i, u
****
Q: 12, ['D', '1825', 'V', '609', 'z', 'x', 'P', 'f', '789', 'M', 'D', 'w', 'G', '2579', '5639', '6575', 'g', '8915', 'V', '3805', 'q', '4739', '9685', '331', '3151']

A:
D, 1825, V, 609, z, x, P, f, 789, M, D, w, G
****