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]: 8, ['3209', '959', 's', 'S', '6033', 'T', 'h', '7547', 't', 'f', 'J', 'a', 'S', 'Q', 'a', 'M', '3893', 'O', '2401', '9705', '243', 'r', '8935', 'z', 'R', 'm']
[EX A]: 3209, 959, s, S, 6033, T, h, 7547, t, f, J, a, S, Q, a, M, 3893, O

[EX Q]: 10, ['5481', '2055', '7495', '2107', 's', 'y', 'F', 'e', 'J', 'S', '8789', 'y', 'h', '9131', '775', 'x', 'K', '5149', 'B', '4323', '731']
[EX A]: 5481, 2055, 7495, 2107, s, y, F, e, J, S, 8789

[EX Q]: 6, ['7617', '2043', '5715', '3363', '6407', 'y', '1217', 'Q', '9759', 'b', '1339', 'J', 'H', 'N', '5057', '413', '4723', 'T', 'I', '7225', 'h', 'g', 'Q', 'g', 'F']
[EX A]:
7617, 2043, 5715, 3363, 6407, y, 1217, Q, 9759, b, 1339, J, H, N, 5057, 413, 4723, T, I