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', '5345', '4697', 'w', '3573', 'k', '3709', 'K', 'o', 'w', '9073', 'f', 'Q', 'N', '2895', 'b', 'q', '7885', '325', '7467', '9809', '6623', '9171', 'T', '507']