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.
10, ['3819', 'a', 'w', '1097', '3775', 'H', 'p', '2019', '2209', '4275', '665', '8521', 'I', 'v', 'o', 'V', 'z', 'S', 'D', '4545', '4013', '4811', 'n', '3761', 'a', '7021', 'W', 'F']