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.
11, ['B', '599', '3553', 'Z', 'x', '2271', 'W', 'l', 'D', 'Y', '3383', '1087', '1621', '4123', '2225', '7169', '2953', '1551', '7637', '1999', '4543', 'I', 'V', '6103', 'r', 'f', 'Z', 'C']