Detailed Instructions: 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, ['4143', '5365', '2749', 'R', '4207', '313', 'x', '9999', 'p', 'Y', '7389', '1605', '5975', '9719', 'N', 'C', '2759', '2021', '3837', '9351', '3009', 'u', 'z', 'U', '8555', 'U', '4693', 'Y', 'm']
A:
4143, 5365, 2749, R, 4207, 313, x, 9999, p, Y, 7389, 1605, 5975, 9719, N, C, 2759, 2021, 3837, 9351, 3009