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.
9, ['A', '4841', 'q', 'F', 'f', 'P', '4507', '7269', '2521', '9259', 'k', 'G', 'd', 'W', 'B', 'W', 'c', '5909', 'k', '8615', '5617', 'V', '1333', '6361', '1191', '3803']