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.
--------
Question: 1, ['4061', '9773']

Answer: 4061


Question: 1, ['8423', '8687']

Answer: 8423


Question: 2, ['N', '7471', '7435', '8313', 'i', 'u', '8583', 'B', 'r', '9367', 'j', '3377', 'T', '2539', '401', 'Y']

Answer:
N, 7471, 7435, 8313, i, u, 8583, B, r, 9367, j, 3377, T, 2539