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.

Q: 4, ['1863', '8975', '8579', '4121', '605', 'm', '4059', 'C', 'j', '6327']

A: 1863, 8975, 8579, 4121, 605, m
****
Q: 2, ['5957', '3849', '607', '7883', 'y', 'y', '3165', '2541', 'z', 'g', '6123', 'q', '527', 'q', '8515', '1189', 't', 'e', 'j', '1389', '7571', '7485', '1017', '3799', '6519']

A: 5957, 3849, 607, 7883, y, y, 3165, 2541, z, g, 6123, q, 527, q, 8515, 1189, t, e, j, 1389, 7571, 7485, 1017
****
Q: 7, ['3771', 'B', '5643', 'f', '9293', '931', 'J', '8701', '553', '5373', '57', '9413', '6191', '1945', '4911', '4773', 'q', '2773', 'G', 'c']

A:
3771, B, 5643, f, 9293, 931, J, 8701, 553, 5373, 57, 9413, 6191
****