Instructions: 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: 11, ['A', '705', 't', 'L', '4981', '5723', '2713', 'A', '9675', '7477', 'U', '8945', '2997', 'j', 'h', 'A', '23', '3711', '3647', '2521', '5247', '1953', 'U']
Output:
A, 705, t, L, 4981, 5723, 2713, A, 9675, 7477, U, 8945