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]: 5, ['2905', '8299', '8635', 'e', '8833', '3137', '7109', '8535', 'y', 'o', 'c', '6837', '3693']
[EX A]: 2905, 8299, 8635, e, 8833, 3137, 7109, 8535

[EX Q]: 1, ['1149', 'L', 'Q', 'I', 'o', 'j', '6019', '5631', '7873', '3693', '9397', '5581', '2591', '6951', '9281', 'R', 'v', 'w', 'g', 'N', 'j', 'r', 't', 'Z', 'G']
[EX A]: 1149, L, Q, I, o, j, 6019, 5631, 7873, 3693, 9397, 5581, 2591, 6951, 9281, R, v, w, g, N, j, r, t, Z

[EX Q]: 2, ['8973', 'w', '8005', 'M', 's', 'I', '6507', '9825', 'b', '6495', 'A', '7747', '959', '7123', '8613', 'g', '1359', '7885', '4143', '7937', 'm', '4705', 'P', 'W', 'b', '9551', 'g']
[EX A]:
8973, w, 8005, M, s, I, 6507, 9825, b, 6495, A, 7747, 959, 7123, 8613, g, 1359, 7885, 4143, 7937, m, 4705, P, W, b