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]: 3, ['u', 's', 'k', '5215', '9609', '1617', 'i']
[EX A]: u, s, k, 5215

[EX Q]: 7, ['7083', 'W', 'U', 'W', '9063', 'K', '483', '8061', '9959', '8881', 'F', 'Q', 'I', '1765', 'o', '8883', 'b', '7093', 'Z', 'n']
[EX A]: 7083, W, U, W, 9063, K, 483, 8061, 9959, 8881, F, Q, I

[EX Q]: 9, ['2827', 'd', '4099', '8131', '9475', '927', 'S', '2105', 'j', '8025', '8393', '7089', 'i', 'Y', '4913', 'h', '4195', 'O', '5717', '3255', '5529', '1537', 'L', 'v', 'F', '1781', 'f', 'k', 'V', 'u']
[EX A]:
2827, d, 4099, 8131, 9475, 927, S, 2105, j, 8025, 8393, 7089, i, Y, 4913, h, 4195, O, 5717, 3255, 5529