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]: 4, ['4951', 'S', '8149', '6325', '7631', 'I', 'Z', '9273', '1193']
[EX A]: 4951, S, 8149, 6325, 7631

[EX Q]: 2, ['M', '4555', '3495', '6283', '6109']
[EX A]: M, 4555, 3495

[EX Q]: 14, ['5911', '1141', '6619', 'Y', 'm', 'v', '8973', 'a', '751', '7413', '6433', '8155', 'B', '8949', 'J', '3713', 'F', 'm', 'e', '4457', 'V', '5945', 'j', '7495', '1199', '5085', 'i', 'w', 'S', '8373']
[EX A]:
5911, 1141, 6619, Y, m, v, 8973, a, 751, 7413, 6433, 8155, B, 8949, J, 3713