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', 'k', 'Y', '1677', 'j', '931', '8947', 'R', 'z', '941', '1599', '7607', 'g', '3005', '6127']
[EX A]: s, k, Y, 1677, j, 931, 8947, R, z, 941, 1599

[EX Q]: 8, ['3915', '1677', 'O', '6549', '4947', '3511', 'X', '391', 'e', 'y', 'u', 'E', '1981', '9039', 'U', '8203', '4305', 'Y', 'l', 'S']
[EX A]: 3915, 1677, O, 6549, 4947, 3511, X, 391, e, y, u, E

[EX Q]: 1, ['371', '8681', '1051', 'k', '6525', 'f', '1091', '9069', 'l', 't', 'X', '557', '3969', '4803', '4447', '6095', '7973']
[EX A]:
371, 8681, 1051, k, 6525, f, 1091, 9069, l, t, X, 557, 3969, 4803, 4447, 6095