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.

[Q]: 4, ['I', '2991', '9273', '9003', 'O', '8771', 'O', '2429']
[A]: I, 2991, 9273, 9003

[Q]: 3, ['8149', 'k', '6879', '8759', 'V', 'B', '6905', '6223', '1669', 'o', 'V', 'Z', '7441', '5477', '2353']
[A]: 8149, k, 6879, 8759, V, B, 6905, 6223, 1669, o, V, Z

[Q]: 9, ['2055', 'P', '6101', 'J', '9499', '5451', '3389', '8753', 'C', '9013', 'a', '8131', 'i', '575', 'u', '415', 'O', '5409', '6299', '6027', '8091', '6085', '4047', '7231', '8939', '9623']
[A]:
2055, P, 6101, J, 9499, 5451, 3389, 8753, C, 9013, a, 8131, i, 575, u, 415, O