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, ['119', '2643', '5649', '7959', 'R', '9157', 'w', '565', '7629', '525', 'R', 'k', '227', '7923', 'z', 'Y', 'k', '4959', '9617', 'L', '8401', '6595', '9611', 'k', 'V', '3875', 'K', '4965']