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, ['O', 'w', 'F', '6965', 'J', 'l', '205', 'N', '3153', 'b', '2955', '3409', 'X', 'E', 'n', 'm', '2955', 'V', '769']

Output: O, w, F, 6965, J, l, 205, N, 3153, b, 2955, 3409, X, E, n, m, 2955, V


Input: Consider Input: 1, ['n', 'y', 'k', 'F', '55']

Output: n, y, k, F


Input: Consider Input: 8, ['v', '5575', 'F', '4827', 'U', '7621', 'E', 'i', '8693', '9835', '1083', 't', 'X', '6949', 'B', '8889', 'q', '6279', '311', 'B', 'w', 'g', 'Y', 'D']


Output: v, 5575, F, 4827, U, 7621, E, i, 8693, 9835, 1083, t, X, 6949, B, 8889