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]: 1, ['s', '5597', '6835', 'p', '171', 'C']
[EX A]: s, 5597, 6835, p, 171

[EX Q]: 6, ['G', '8863', 'q', 'D', 'W', '5373', 'e', 'Z', '7821', '1441', 'h', '2001', 'N', 'v', '3485']
[EX A]: G, 8863, q, D, W, 5373, e, Z, 7821

[EX Q]: 1, ['2811', '4975', '2475', 'o', '6591', 'i', '2037', 'V', '2969', '6177', '3845']
[EX A]:
2811, 4975, 2475, o, 6591, i, 2037, V, 2969, 6177