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.

1, ['5173', 'e', 'j']
5173, e

4, ['739', 'k', '9835', 'K', '435', '1735', 'y', 'v', '6493', 'g', 'D', 'F', '6367']
739, k, 9835, K, 435, 1735, y, v, 6493

11, ['8231', '989', '6353', '4699', 'J', '6771', '2211', '4205', 'd', '817', 'M', '4031', '301', '3551', 'A', 'O', 'W', '739', '5741', '2497', 'V', '3875', '5745', '647', '8505', '3673']

8231, 989, 6353, 4699, J, 6771, 2211, 4205, d, 817, M, 4031, 301, 3551, A