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, ['3901', 'l', 'h', '9541', '9307', 'm', 't', 'W']
Example Output: 3901, l, h, 9541, 9307

Example Input: 3, ['u', 's', 'k', '5215', '9609', '1617', 'i']
Example Output: u, s, k, 5215

Example Input: 6, ['7653', 'i', '1503', '7003', 'h', 'o', 'a', 'E', '7873', 'L', '5193', '8717', 'P', 'O', '3667', 'i', 'K', '2127', '7251', 'T', 'D', '9717', 'N', 'X', '6919', '6765']
Example Output:
7653, i, 1503, 7003, h, o, a, E, 7873, L, 5193, 8717, P, O, 3667, i, K, 2127, 7251, T