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.

Example Input: 1, ['8423', '8687']
Example Output: 8423

Example Input: 5, ['a', 'U', '1091', '6791', '5761', '5235', 'q', 'f', 's', '2023', 'u', 'N', 'H', 'D', '479', 'q']
Example Output: a, U, 1091, 6791, 5761, 5235, q, f, s, 2023, u

Example Input: 2, ['5869', '6373', '9899', 'E', '9575', 'Q', 'O']
Example Output:
5869, 6373, 9899, E, 9575