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.
13, ['A', 'z', 'i', 'O', 'h', 'g', 'K', '6283', 'j', '9845', 'n', '9277', '4713', 'M', '1539', 'O', 'j', '3819', 'K', 'T', '7463', '3233', 'H', '5685', 'Y', 'F', 'W', '1103', '5119', 'x']