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.

[Q]: 1, ['x', '7625', 't', 'P']
[A]: x, 7625, t


[Q]: 1, ['p', '1469', '7097']
[A]: p, 1469


[Q]: 5, ['1847', '4161', '8911', 'Z', 'f', '3423', 'A', 'c', '2085', '5035', '9173', 'p', 'H', '251', 'H', '3881', 'y', 'T', 'R', '853', '1355', 'l', '2153', '709', '6857', 'B']
[A]:
1847, 4161, 8911, Z, f, 3423, A, c, 2085, 5035, 9173, p, H, 251, H, 3881, y, T, R, 853, 1355