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: 2, ['7835', '1279', 's', '1149', 'x', 'L', '4499', '517', 'Y', 'E', 'h', '2687', 'f']
Example Output: 7835, 1279, s, 1149, x, L, 4499, 517, Y, E, h

Example Input: 10, ['4421', 'm', '6963', '6375', '4091', 'x', '6913', 'P', '3573', '8383', '5081', '9329', '5375', 'F', '6687', '5247', 'k', '7757', '7719', 'G', 'C', '2727', 'C', '6229', 'N', 'j', '5087', '8789', '8919', 'r']
Example Output: 4421, m, 6963, 6375, 4091, x, 6913, P, 3573, 8383, 5081, 9329, 5375, F, 6687, 5247, k, 7757, 7719, G

Example Input: 9, ['8695', 'i', 'l', '3745', '2945', 'h', '615', '7527', 'v', 'L', 'r', 'y', '9693', '5209', 'D', 'Y', '367', 'F', '4689', '265', 'V']
Example Output:
8695, i, l, 3745, 2945, h, 615, 7527, v, L, r, y