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: 6, ['4101', '3515', '7531', '5413', 'o', 'M', '577', '265', '6957', '1919', 'R', 'u', 'I', '7995', '4437', '5393', 'D', '3235', '7859', 'N', '5469', 'E', '2199', '9647', '8557', '8371', 'g', '411']
Example Output: 4101, 3515, 7531, 5413, o, M, 577, 265, 6957, 1919, R, u, I, 7995, 4437, 5393, D, 3235, 7859, N, 5469, E

Example Input: 1, ['5691', '1191', '4263', 'L', 'e', '889', '2459', '3757', '8223']
Example Output: 5691, 1191, 4263, L, e, 889, 2459, 3757

Example Input: 1, ['8069', 'Y', 'm', 'y', '4089', '5341', 'k', '7941', 'L', '4301', '8739', 'x', '8569', '7961', '8423', 'y', 'X']
Example Output:
8069, Y, m, y, 4089, 5341, k, 7941, L, 4301, 8739, x, 8569, 7961, 8423, y