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]: 2, ['7909', '2675', 'Y', '8083', '379', 'K', '9823', '7959', 'w', '7649', 'C', 'S']
[EX A]: 7909, 2675, Y, 8083, 379, K, 9823, 7959, w, 7649

[EX Q]: 10, ['1925', '3633', 'P', '4221', 'N', '7151', 's', 'P', '9523', 'Q', '7649', 'e', 'z', 's', '4015', '5', 'O', '7979', 'X', '4521']
[EX A]: 1925, 3633, P, 4221, N, 7151, s, P, 9523, Q

[EX Q]: 3, ['2427', '1467', '3967', '3325', '1743', 'Z', '5361', '645', 'P', '509', 't', '4787', 'B', '8377', '9381', 'P', 'x', 'p', '4147', '3131']
[EX A]:
2427, 1467, 3967, 3325, 1743, Z, 5361, 645, P, 509, t, 4787, B, 8377, 9381, P, x