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, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']
3727, R, h, 1969, v, 5353, A, t, 2237, j

8, ['4647', '6043', 'f', '6015', '289', 'f', 'E', '1355', 'e', 'y', 'i', '1279', '9563', 'c', 'U', 'd', '4333', '2351', 'Y', 'E', 'o', '4973', '475', '7943', '3199']
4647, 6043, f, 6015, 289, f, E, 1355, e, y, i, 1279, 9563, c, U, d, 4333

12, ['W', 's', 's', 'F', 'J', '9565', '3221', '8125', 'p', 'F', 'V', '4257', '7759', '7035', 'D', '4755', '9061', '5457', '5393', 'v', 'R', 'd', '6485', '7229']

W, s, s, F, J, 9565, 3221, 8125, p, F, V, 4257