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: 1, ['D', 'X', 'M', '3281', 't', '5373', '5539', 'r', '1655', 'S', 'v', 'r', '5935', '3859', 'd', 'z', 'L', 'Z']

Output: D, X, M, 3281, t, 5373, 5539, r, 1655, S, v, r, 5935, 3859, d, z, L


Input: Consider Input: 10, ['545', 'j', '1823', '139', '197', '7565', '3227', 'q', '9475', 'N', 'V', 'f', '1819', 'Q', 'T', '5103', '5601', '1843', 'E', 'U', 'B']

Output: 545, j, 1823, 139, 197, 7565, 3227, q, 9475, N, V


Input: Consider Input: 8, ['a', '3423', 'k', 'M', '9783', '2323', 'H', '2099', '93', '3759', '2127', 's', 's', '1083', '1249', '7369', '3423', '5411', 'o', 'q', 'B', '4089', '8033', 'X', 'y']


Output: a, 3423, k, M, 9783, 2323, H, 2099, 93, 3759, 2127, s, s, 1083, 1249, 7369, 3423