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]: 3, ['w', '273', '3987', 'J', 'm', 'v', '321', '8839', 'e', 'E', '5029', '1825', 't', 'a', '1257']
[EX A]: w, 273, 3987, J, m, v, 321, 8839, e, E, 5029, 1825

[EX Q]: 7, ['6359', 'e', 'm', '9405', 'G', '1111', '7629', 'j', '1499', 'a', '683', '2853', 'j', 'l', 'g', '8575', '6289', 'B', '5161', '2487', 'z', 'J', 'v', 'K']
[EX A]: 6359, e, m, 9405, G, 1111, 7629, j, 1499, a, 683, 2853, j, l, g, 8575, 6289

[EX Q]: 1, ['5735', 'T', '2495', '2287', '5985', 'w', '2851', 'R', 'P', '5757', '2229', 'H', 'n', '5565', 'X', 'j', 'T', 'S', '8991', '4531', 'A', 'c', '827', 'l']
[EX A]:
5735, T, 2495, 2287, 5985, w, 2851, R, P, 5757, 2229, H, n, 5565, X, j, T, S, 8991, 4531, A, c, 827