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]: 2, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']
[A]: 3727, R, h, 1969, v, 5353, A, t, 2237, j


[Q]: 1, ['O', '6951', '5741']
[A]: O, 6951


[Q]: 5, ['C', 'a', 'X', 's', 'g', 'x', 'S', 'c', 'D', 'g', 'j', 'u', 'l', 'l', '5099']
[A]:
C, a, X, s, g, x, S, c, D, g