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.

6, ['g', '2043', '6243', '8743', '2557', '8847', '663', 'D', 'M', '6503', 'u', 'W', 's', '3707', '4763', '6937']
g, 2043, 6243, 8743, 2557, 8847, 663, D, M, 6503

2, ['5957', '3849', '607', '7883', 'y', 'y', '3165', '2541', 'z', 'g', '6123', 'q', '527', 'q', '8515', '1189', 't', 'e', 'j', '1389', '7571', '7485', '1017', '3799', '6519']
5957, 3849, 607, 7883, y, y, 3165, 2541, z, g, 6123, q, 527, q, 8515, 1189, t, e, j, 1389, 7571, 7485, 1017

2, ['c', '6563', 'G', 'C', 'V', '4943', '2395', '467', 'l', 'a', 'B', '1725', '4065', 's', 'k']

c, 6563, G, C, V, 4943, 2395, 467, l, a, B, 1725, 4065