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.
4, ['S', '8993', '6719', 'L', 'w', 'u', '3357', '2173', 'U', 'f', '7675', '6959', 'd', 'e', '9079', 'D', '3053', '211', '2055', 't', 't', '7523', '5279', 'a', '3949', '2955', 'T']