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.
2, ['1253', 'c', 'a', '5613', '8779', 'k', 't', 'A', '9297', '9969', '2853', '6509', 'm', '9647', 's', 'w', '5399', 't', 'k', 'S', '9069', 'D', 'z', '5475', 'O', '4609', 'a']