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.
3, ['8043', 'e', 'E', 's', '5275', '4401', 'B', '4631', 'H', '9161', 'L', 'x', '4205', '9415', 'j', '6051', '611', '9317', 'e', '3443', '8475', 'P', 'u', '2935', 'I', 'k', 'R']