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]: 4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']
[EX A]: S, 9397, 3571, 6173, 5707, 3343

[EX Q]: 1, ['s', '5597', '6835', 'p', '171', 'C']
[EX A]: s, 5597, 6835, p, 171

[EX Q]: 9, ['2627', 'X', '4967', 'w', '7345', 'g', 'O', '6227', '263', '821', 'Y', '1753', '2849', '3659', '7141', 'Q', '8593', 'o', '5067', 'k', '1381', '6363', '7769', '5741', 'e', 'R', '6937']
[EX A]:
2627, X, 4967, w, 7345, g, O, 6227, 263, 821, Y, 1753, 2849, 3659, 7141, Q, 8593, o