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: 3, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']
Example Output: 9317, r, h, 8465, 8803, 9133, L, R, A, i, u

Example Input: 8, ['2311', 'D', '2365', '6047', 'R', '5279', '9229', 'R', 'M', '2025', 'i', '3463', '3585', '5637', 'e', 'b', 'T', '4147']
Example Output: 2311, D, 2365, 6047, R, 5279, 9229, R, M, 2025

Example Input: 7, ['7731', '3567', '8265', '8231', 'k', 'z', 'H', '1093', 'j', 'r', '8813', '4847', 'u', '149', 'F', 'S', 'd', 'B', 'R']
Example Output:
7731, 3567, 8265, 8231, k, z, H, 1093, j, r, 8813, 4847