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, ['4821', 'h', 'Z', '1753', '2955', 'e', '1943', 'h', 'N', '6491', 'l', 'q', 'H', 'W', 'Q', '7961', '9857', 'c', 'm', '601', 'v', 'a', '3073', 'Q', 'o', 'm']