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: 7, ['8363', 'm', 'i', '9887', '7645', '815', '9555', '2541', '2947', 'r', '7885', '6389', '3', '6109', '5441', '8731', 'N', 'J', '7977', 'C', '1683', '5875', '1105']
Example Output: 8363, m, i, 9887, 7645, 815, 9555, 2541, 2947, r, 7885, 6389, 3, 6109, 5441, 8731

Example Input: 11, ['f', '6479', 'K', 'y', '8473', 'Y', '9985', '5635', '441', '3223', 'g', 'g', '4073', 'q', 'D', 'r', '3967', '3855', 'f', 'F', '7121', '8535', 'E', 'W', '8679', '65', 'I', 'L', '935']
Example Output: f, 6479, K, y, 8473, Y, 9985, 5635, 441, 3223, g, g, 4073, q, D, r, 3967, 3855

Example Input: 11, ['6101', 'T', 'S', '7977', 'N', 'V', 's', '7859', '3191', '741', 's', '433', '6065', '7845', '6535', 'y', 'Z', '1015', '1797', '5903', 'u', '4795', 'L', 'H']
Example Output:
6101, T, S, 7977, N, V, s, 7859, 3191, 741, s, 433, 6065