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.
9, ['L', '7103', '5375', 'f', '6031', '5787', 'h', '1067', '7849', '1213', 'p', 'j', 'x', 'X', 'w', '6135', '4973', 'D', '7915', 'T', '3611', 'i', 'H', 's', 'g', 'n', 'X', '5855', '9339']