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.
12, ['2637', '629', '7761', '1527', 'V', 'n', '8277', 'e', '3053', '1443', '6549', '2465', '1777', '585', 'H', '2649', 'U', 'v', '6797', 'J', '2853', '6031', 'j', '3979', '3947', 'A']