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.
15, ['j', 'U', 'S', '5135', 'v', '8431', 'K', '5719', 'V', '7851', '1495', '825', 'c', 'w', 'n', '3913', '6021', '9471', 'X', '781', '2577', 'T', '205', '7327', 'F', 'U', '7763', 'K', 'N', '5567']