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, ['f', '6327', '661', 'F', '1403', 'X', 'P', 'A', 'p', 'A', '6377', 'L', '903', '8571', 'G', 'P', 't', '9747', 'J', 'v', 'R', '4683', '3311', 'l', '7409', '8889', 'N', '9413', '9699']