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, ['4657', '245', 'j', 'E', 'c', '3873', 'M', '6779', 'L', 'a', 'V', '3553', '5943', 'X', '4375', '2841', '6417', 'b', '9889', '9643', 'X', 'u']