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: 2, ['1713', 'o', '6397', '4329', 'R', '4123', '5297']

Output: 1713, o, 6397, 4329, R


Input: Consider Input: 1, ['6107', '9057', '3107', 'Y', '9471']

Output: 6107, 9057, 3107, Y


Input: Consider Input: 9, ['9157', '8133', 'T', '2303', 'l', 'Y', 'C', 'X', '8967', '7657', 'i', 'l', '6387', '9301', '9803', 'X', 'L', '7387', '7159', 'q', '8623', 'd', 'j']


Output: 9157, 8133, T, 2303, l, Y, C, X, 8967, 7657, i, l, 6387, 9301