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, ['6621', 'R', 'w', '501', 'H', 'a', 'P', '203', '1433', 'z', 'R', 'G', 'U', 'V', 'F', 'B', 'O', 'H', '1915', 'P']

Answer: 6621, R, w, 501, H, a, P, 203, 1433, z, R, G, U, V, F, B, O, H, 1915


Question: 2, ['z', 'R', '9925', '7869', 'p', '4945']

Answer: z, R, 9925, 7869


Question: 3, ['k', '4929', 'x', 'Y', 'F', 'w', 'R', 's', '2475', '7139']

Answer:
k, 4929, x, Y, F, w, R