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: 8, ['3873', '4431', '4295', 'W', 'X', 'U', 'X', '1877', 'u', '5755', '9109', '5211', '3037', 'V', 'S', 'c', 'O']
Example Output: 3873, 4431, 4295, W, X, U, X, 1877, u

Example Input: 7, ['E', '2953', 't', 'M', '7543', 'X', 'J', 'N', 'N', 'J', 'w', 'c', '2417', 'p', '9453', 'O', '3625', 't', 't', 'a', 'v', 'N', 'U', 's']
Example Output: E, 2953, t, M, 7543, X, J, N, N, J, w, c, 2417, p, 9453, O, 3625

Example Input: 7, ['6949', 's', '3525', '4929', 'o', 'D', 'a', 'R', 'v', 'h', 'J', '5363', '2417', '601', 'z', 'R', 'a', 'G', 'a', 'U', '3395', '4635', 'r', '5821', '3209', '1481', 'w', '251', 'p', 'b']
Example Output:
6949, s, 3525, 4929, o, D, a, R, v, h, J, 5363, 2417, 601, z, R, a, G, a, U, 3395, 4635, r