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.
5, ['C', 'G', 'T', '5927', '999', '8099', 'U', 'n', '8997', 'O', '7411', '5425', 'I', '5091', 'D', 'o', '6467', '2019', 'T', '9689', 'k', 'v', 'w', '5153', 'D', 's', '4311', 'L']