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.
3, ['k', '9107', 'y', 'e', '1841', 'q', 'L', '3355', '5077', '4903', '183', '7985', 'X', '9809', '4703', '3307', '5639', '829', '5997', '707', '2129', 'A', '1823', 'j', 'A', 'T', 'b', '5163']