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.
12, ['Z', '5715', '7677', 'Y', '4345', 'O', '8713', '3895', 'V', '6971', 'd', '2357', 'a', 'y', 'I', 'd', '3755', '6453', '7033', '4447', 'y', '4937', 'K', 'Q', '9061']