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.
4, ['93', '4165', '1275', 'T', 'p', 'm', '2057', '8439', 'y', '6903', '7097', '5573', '9877', '9629', 'P', 'I', 'J', 'g', 'B', '4447', 'U']