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.
--------
Question: 1, ['e', 'M', '5065', 'T', 'm', 'f', 'a', 'a', '5383', 'H', 'D', '7711', '5143', '6705', 't', 'E', 'o', '1853', '4821']

Answer: e, M, 5065, T, m, f, a, a, 5383, H, D, 7711, 5143, 6705, t, E, o, 1853


Question: 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']

Answer: c, 2459, Z, 221, 6821, D, i, 8517, R, F, b, Z, 8771, 5713, 2703, 3003, 2627, y, 4817, 2005


Question: 4, ['4825', '3763', '9659', 'P', 'K', '2457', '3327', '4407', '9923', 'F', '1679', '5359', '6017', '8229', 'R', '4923', 'Z', '447', 'N', 'k', '3993', 'E', 'E', 'j', '3367', 'm', 'c']

Answer:
4825, 3763, 9659, P, K, 2457, 3327, 4407, 9923, F, 1679, 5359, 6017, 8229, R, 4923, Z, 447, N, k, 3993, E, E