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: 8, ['2657', 'u', '4419', '6719', '7841', 'u', '3781', 'o', 'w', '987', 'd', '1871', '4313', '1025', 'u', '3963', '7743', '1885', 'z', 'z', '7187', '5247']
Example Output: 2657, u, 4419, 6719, 7841, u, 3781, o, w, 987, d, 1871, 4313, 1025

Example Input: 2, ['9977', '1897', '9039', 'W', '3709']
Example Output: 9977, 1897, 9039

Example Input: 9, ['811', '2245', '8339', '1033', 'C', 'q', 'U', 's', 'X', '7173', '6787', '4573', '3475', 'H', '1225', '6139', 'Q', 'k', '5111', '4845', '5013', 'c', '9973', 'Z', 'J', 'b']
Example Output:
811, 2245, 8339, 1033, C, q, U, s, X, 7173, 6787, 4573, 3475, H, 1225, 6139, Q