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: 11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']

A: 2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F
****
Q: 2, ['687', '8957', '9003', '9701', 'K', '9929', '6287', 'r', 'd', '8885', '1275', '3815', 'i', 'W', 'K', '9301', '2777', '5839', 's', '2333', '1057', 'a']

A: 687, 8957, 9003, 9701, K, 9929, 6287, r, d, 8885, 1275, 3815, i, W, K, 9301, 2777, 5839, s, 2333
****
Q: 5, ['6311', '5105', 'r', '1797', '8393', 'r', '793', 'd', 'd', '5715', '1607', 'g', '2807', '9575', 'w', '385']

A:
6311, 5105, r, 1797, 8393, r, 793, d, d, 5715, 1607
****