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.
8, ['V', '2187', 'H', 'z', '7885', 'M', '7567', '1377', '6479', '5463', '9617', 'i', '6139', '8969', '4885', '5643', 'l', 'V', 'z', 't', 'k', 'H', '5063', '5333', 'i', '555', 'v']