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: 11, ['4055', '3545', '3085', '4823', '5785', 's', 'Q', '9933', 'I', 'E', 'w', '8885', '2331', 'j', '9371', '2087', '4801', 'N', 'Y', '3477', 'l', '6711', 'T', '4875', 'j', 'S']
A:
4055, 3545, 3085, 4823, 5785, s, Q, 9933, I, E, w, 8885, 2331, j, 9371