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: 6, ['5633', '7953', '9691', '1375', 'q', '8937', '9523', '7009', 'J', 'b', '5747', '9969', 'v', '6527', 'M', 'm', 'P', 'K', 'Y']

A: 5633, 7953, 9691, 1375, q, 8937, 9523, 7009, J, b, 5747, 9969, v
****
Q: 4, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']

A: 7539, 5355, 5163, 393, U, 9923, E, H, A, K
****
Q: 2, ['1799', '2495', '863', '8119', '6935', '7387', '6203', 'a', '9915', 'm', '8067', '9373', 'F', 'k', '5255', 'O', '3749', '4983', '7869', '9703', '9331', 'k', '8649', '3403', '7927', '4395', '1365', '1201', '4705']

A:
1799, 2495, 863, 8119, 6935, 7387, 6203, a, 9915, m, 8067, 9373, F, k, 5255, O, 3749, 4983, 7869, 9703, 9331, k, 8649, 3403, 7927, 4395, 1365
****