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.
10, ['n', '6737', 'V', '5493', 'T', '2389', 'T', 'F', '5601', 'i', '4889', 'i', '731', 'X', '3483', 'o', '6829', 'V', 'R', 'K', '1161', '1783', '1835', '3149', 'S', 'j', '1649', '8629']