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.

10, ['c', '2459', 'Z', '221', '6821', 'D', 'i', '8517', 'R', 'F', 'b', 'Z', '8771', '5713', '2703', '3003', '2627', 'y', '4817', '2005', '2851', '5563', 'l', '3069', 'm', '6701', '3', '2337', '3693', 'T']
c, 2459, Z, 221, 6821, D, i, 8517, R, F, b, Z, 8771, 5713, 2703, 3003, 2627, y, 4817, 2005

1, ['2847', 'w', 'E', '4291', '9755', '491', '2807', '3995', '5677', '7395', '9175', 't', '9529']
2847, w, E, 4291, 9755, 491, 2807, 3995, 5677, 7395, 9175, t

6, ['w', 'z', '2589', 'J', 't', '1489', '9251', '9061', 'A', '6499', 'N', '8457', 'U', 'K', '4979', '4105', '5695', 'l', '5801', 'F', 'b', '4823', '4753', 'Q', 'P', 'M', '6779', '6505']

w, z, 2589, J, t, 1489, 9251, 9061, A, 6499, N, 8457, U, K, 4979, 4105, 5695, l, 5801, F, b, 4823