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]: 3, ['9777', '5813', 'b', '6431', 'N', 'I', '5109', '3441', '6915', 'p', '6227', '1815', '3195', '8763', 'F', '6837', '8463']
[EX A]: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763

[EX Q]: 1, ['5691', '1191', '4263', 'L', 'e', '889', '2459', '3757', '8223']
[EX A]: 5691, 1191, 4263, L, e, 889, 2459, 3757

[EX Q]: 2, ['L', '5387', '3395', 'c', '7909', 'z', '6977', '2203', '1777', '4835', '3343', '945', 'R', '5193', '3761', '4453', '1807', '999', '3187']
[EX A]:
L, 5387, 3395, c, 7909, z, 6977, 2203, 1777, 4835, 3343, 945, R, 5193, 3761, 4453, 1807