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.

3, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']
9317, r, h, 8465, 8803, 9133, L, R, A, i, u

7, ['4871', '3897', 'B', 't', 'V', '7127', '8163', 'R', 'c', 'o', 'w', 'b', '9099', '1405', 'i', '8279', '3689', 'x']
4871, 3897, B, t, V, 7127, 8163, R, c, o, w

14, ['1617', '4609', '3341', 'q', '3505', '3585', 'R', '6857', '4433', '4501', '5783', '9487', 'L', '3171', 'I', '3149', '917', 'H', '5205', 'n', '9751', '5029', 'J', 't', 'z', 'F', '8805', 'O']

1617, 4609, 3341, q, 3505, 3585, R, 6857, 4433, 4501, 5783, 9487, L, 3171