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.

Input: Consider Input: 9, ['u', '4051', '3701', 'X', '4683', 'l', '7955', 'O', '4095', 'c', 'j', 'A', '6477', '529', '4761', '1117', 'l', 'X', 'h']

Output: u, 4051, 3701, X, 4683, l, 7955, O, 4095, c


Input: Consider Input: 4, ['W', 'U', '7989', '7921', '2625', '4897', '1429', '7431', 'v', 'J', 'G', '2459', 'h', 'D', 'O', 'j', '5037', '9775', '7017']

Output: W, U, 7989, 7921, 2625, 4897, 1429, 7431, v, J, G, 2459, h, D, O


Input: Consider Input: 7, ['9487', 'K', 'T', 'x', '7497', '5527', '5613', '5531', '4267', '1047', 'X', 'o', '5135', 'i', 'Y']


Output: 9487, K, T, x, 7497, 5527, 5613, 5531