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.
9, ['2827', 'd', '4099', '8131', '9475', '927', 'S', '2105', 'j', '8025', '8393', '7089', 'i', 'Y', '4913', 'h', '4195', 'O', '5717', '3255', '5529', '1537', 'L', 'v', 'F', '1781', 'f', 'k', 'V', 'u']