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]: 6, ['k', '1903', 'q', 'D', 'f', '3015', 'r', '4551', '8475', 'K', '8933', 'R', 'z', '8199', 'H', 'j', 'R', '2815', 'K', '3025', '8765', 'S', 'W', 'K', 'I', 'P', '1407', 'n']
[EX A]: k, 1903, q, D, f, 3015, r, 4551, 8475, K, 8933, R, z, 8199, H, j, R, 2815, K, 3025, 8765, S

[EX Q]: 3, ['7269', 'B', 'R', '5389', '2109', '7927', '4151', '4607', 'L', 'o', '8509', 'm', 'Y', 'K', 'Z', '1593', 'q', '6293', 'a']
[EX A]: 7269, B, R, 5389, 2109, 7927, 4151, 4607, L, o, 8509, m, Y, K, Z, 1593

[EX Q]: 1, ['U', 'a', '5763', 'b', 'B', '1855', '9083', 'f', '2933', 'V', '6081', '9723', '8183', 'v', 'k', '9493', '2977', '3983', 'U', '8803', 'B', '4197', 'F', '2819', '8113', '5643', '4833', 'd']
[EX A]:
U, a, 5763, b, B, 1855, 9083, f, 2933, V, 6081, 9723, 8183, v, k, 9493, 2977, 3983, U, 8803, B, 4197, F, 2819, 8113, 5643, 4833