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, ['f', '3521', 'g', '5259', 'a', '4625', '2831', '1903', '6803', '6527', '2525', '3465', '1817', '9203', '5601', 'y', 'W', 'V', '6171', '7869', '2775', '2107', '5599', 'w', '4433', 'e', 'I', '5553']