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.
5, ['C', 'n', '6957', '8605', '5713', 'X', '7389', '911', '5205', '8925', 'u', '9741', '5435', '5987', 'C', '4315', '9153', 'g', '3931', '5101', 'S', 'Z', '7573']