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, ['u', 's', 'k', '5215', '9609', '1617', 'i']
Example Output: u, s, k, 5215

Example Input: 5, ['l', '1473', '6251', '1565', '4141', '1871', 's', 'v', 'y', 'd', '2539', '1435', '6661', '1285', '6317', '9047', '2543', 'u', '3483', 'y', '8777', 'y', '4333', 'C']
Example Output: l, 1473, 6251, 1565, 4141, 1871, s, v, y, d, 2539, 1435, 6661, 1285, 6317, 9047, 2543, u, 3483

Example Input: 8, ['6311', '641', '5753', '1663', '421', 'C', '7475', '621', 'Z', '1811', '6759', '9151', 'Q', '3705', 'I', 'K', 'g', 'n', '5935', 'g', '2425', 'g', '5591', '5151', 'n', '7065', 'E', '7457']
Example Output:
6311, 641, 5753, 1663, 421, C, 7475, 621, Z, 1811, 6759, 9151, Q, 3705, I, K, g, n, 5935, g