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.

3, ['Y', '959', '1399', 'T', 'R', 'o']
Y, 959, 1399

5, ['X', 'i', '4513', '2451', '4079', '8191', '9915', '8299', '6139', '705', 't', '7117', 'M', '2621', '9617', '3259', '1173', 'E', 'T', 'm', '6179', 'W']
X, i, 4513, 2451, 4079, 8191, 9915, 8299, 6139, 705, t, 7117, M, 2621, 9617, 3259, 1173

9, ['2055', 'P', '6101', 'J', '9499', '5451', '3389', '8753', 'C', '9013', 'a', '8131', 'i', '575', 'u', '415', 'O', '5409', '6299', '6027', '8091', '6085', '4047', '7231', '8939', '9623']

2055, P, 6101, J, 9499, 5451, 3389, 8753, C, 9013, a, 8131, i, 575, u, 415, O