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, ['1097', 't', 'G', '6053', '293', '3513', 'b', 'Z', '5361', '8991', '601', 'Y', '4563', '4069', 'Y', 'y', '6453', '3371', '7235', '1463', '3421', '8885', 'm', 'r', '8301', 'l']