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: 7, ['t', 'x', 'A', 't', 'j', 'E', '1949', '57', '9477', 'W', 'h', 'Q', '6787', '8505', '1725', 't', '4437', 'x', '6937', 'F', 'V', '6427', '57', '6387', 'Y', '9933', '3067', '7327', 'n']

Output: t, x, A, t, j, E, 1949, 57, 9477, W, h, Q, 6787, 8505, 1725, t, 4437, x, 6937, F, V, 6427


Input: Consider Input: 4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']

Output: s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y


Input: Consider Input: 4, ['A', 'Y', 'U', 'U', '4433', '3157', '6375', '9349', 'k', 'm', '4865', 'o', 'Z']


Output: A, Y, U, U, 4433, 3157, 6375, 9349, k