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', '7203', 'r', '8371', '6637', '4107', 'L', '317', 'T', 'q', 'W', '8475', 'x', '3297', 'H', 'G', '3511', '5221', 'V', 'k', 'm', '4659', 'r', 'q', '3465', '9245', 'p', 'k', '6289', 'f']

Output: D, 7203, r, 8371, 6637, 4107, L, 317, T, q, W, 8475, x, 3297, H, G, 3511, 5221, V, k, m, 4659, r, q, 3465, 9245, p, k, 6289


Input: Consider Input: 7, ['7721', 'W', 'o', 'R', '2933', 'N', '9829', '707', 'A', 'a', '8035', 'i', 'B', 'j', '319', 'v', '5879']

Output: 7721, W, o, R, 2933, N, 9829, 707, A, a


Input: Consider Input: 10, ['G', '6913', '8663', 'T', 'q', 'f', '2601', '5891', '317', '845', '5811', 'X', 'd', 'K', '5683', '5679', 'h', '2247', 'm', 'p', '4683', '8285']


Output: G, 6913, 8663, T, q, f, 2601, 5891, 317, 845, 5811, X