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]: 5, ['a', 'a', '3961', '9489', 'b', '1505', 'W', '8567', '635', 'z', 'a', '139', '3987', 'C', 'D', '3401', 'l']
[EX A]: a, a, 3961, 9489, b, 1505, W, 8567, 635, z, a, 139

[EX Q]: 1, ['2725', '4871']
[EX A]: 2725

[EX Q]: 10, ['5341', 'C', '9157', 'W', 'D', 'Z', '4031', 'D', 'z', '4083', '3259', '5387', '8645', 'z', '4721', '903', '3375', 'K', '3143', '4033', 'z', '7233', 'h', '481', '2129', '533', 'g', '4211', 'e']
[EX A]:
5341, C, 9157, W, D, Z, 4031, D, z, 4083, 3259, 5387, 8645, z, 4721, 903, 3375, K, 3143