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.
1, ['5129', '659', 'Q', 'P', '7771', 'F', 'a', '8767', 'O', '1703', 'L', '9203', 'o', 'x', '5681', 'm', 'd', 'p', '6819', 'U', '537', '4371', '9503', '323', 'd', 'H', 'm', '2849', '6955']