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.
--------
Question: 7, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']

Answer: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759


Question: 3, ['s', '9987', 'K', '7179', 'n', '3185', 'x', '6049', '4093', 'o', '9415', '763', '3095', 'l', 'T', 's', 'K']

Answer: s, 9987, K, 7179, n, 3185, x, 6049, 4093, o, 9415, 763, 3095, l


Question: 4, ['7991', 'm', 'P', '1029', 'D', 'x', 'L', '3549', '2747', '5545', 'l', 'T', 'S', 'b', '929', 'R', '8099', 'R', 'c', 'i', 'v', 'q', 'g', '2107', '6375']

Answer:
7991, m, P, 1029, D, x, L, 3549, 2747, 5545, l, T, S, b, 929, R, 8099, R, c, i, v