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.

2, ['t', '8531', 'e', '8317', '2747']
t, 8531, e

12, ['3525', '3817', 'X', '2091', 'E', '7625', 'p', '8031', '3895', '4101', 'K', 'f', '4303', 'g', '1529', 'p', 'D', 'w', '1831', 'n', '1019', '9569', 'L', '447', 'L', 't', 'r']
3525, 3817, X, 2091, E, 7625, p, 8031, 3895, 4101, K, f, 4303, g, 1529

9, ['c', '1635', 'z', '5567', 'X', 'h', 'c', '6505', '7887', 'T', 'Q', '2859', '7869', '2215', 'A', 'w', '4277', 'a', '135', '6633', '7393', '985', '4711', 'T', 'g', '4761', '5329', 'Q', '2027']

c, 1635, z, 5567, X, h, c, 6505, 7887, T, Q, 2859, 7869, 2215, A, w, 4277, a, 135, 6633