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.
13, ['1389', 'k', '2651', 'S', '7759', '8357', 'r', '7581', 'Z', 'B', 'k', 'w', 'z', 'z', '7775', 'o', '4307', '2573', '6079', 'j', '4687', 'h', '1143', '3737', '6849', '7237', 'O', 't', 'r']