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.

7, ['8363', 'm', 'i', '9887', '7645', '815', '9555', '2541', '2947', 'r', '7885', '6389', '3', '6109', '5441', '8731', 'N', 'J', '7977', 'C', '1683', '5875', '1105']
8363, m, i, 9887, 7645, 815, 9555, 2541, 2947, r, 7885, 6389, 3, 6109, 5441, 8731

1, ['F', 'p', '9513', '4451', 'M', 'H', 'u', 'c', '9279']
F, p, 9513, 4451, M, H, u, c

7, ['s', '8789', '9017', 'm', 'v', 'o', 'i', 'm', '729', '6319', '7399', 'D', '9559', '9361', '867', '9443', '3295', '57', '7275', 'a', '7827', '407', '2135', 'R', 'j', '5573']

s, 8789, 9017, m, v, o, i, m, 729, 6319, 7399, D, 9559, 9361, 867, 9443, 3295, 57, 7275