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.
13, ['3667', '2381', 'm', 'v', '3853', 'X', 'E', 'h', '8035', '223', '5507', '7527', '1535', 'r', 'z', 'N', 'e', 'Z', 'd', '8879', 'G', 'q', '7279', '4183', '6097', '3271', '765', 'r']