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.
12, ['5743', '7959', '6263', 'k', 'D', 'I', 'f', '171', 'x', 'B', '8821', 'X', '5291', 'X', '7239', '5225', 'b', 'j', '111', 'E', '4609', 'V', 'e', '1929', '4513', '2877', '3025', 'b']