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, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']
[EX A]: t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701

[EX Q]: 5, ['1455', 'C', '4659', 'A', '557', 'n', 'R', '4853', '9623', 'Y', '5985', '8355', 'q']
[EX A]: 1455, C, 4659, A, 557, n, R, 4853

[EX Q]: 1, ['R', '4597', '6965', 'T', 'Z', 'g', 'j', 'E', '3885', 'z', '877', '693', 'd', '2801', '9215', '225', 'V', '1707', '5479', '7889', '2873', 'j', 'w', 'L', 'A', 'q', 'J', '9371', 'N']
[EX A]:
R, 4597, 6965, T, Z, g, j, E, 3885, z, 877, 693, d, 2801, 9215, 225, V, 1707, 5479, 7889, 2873, j, w, L, A, q, J, 9371