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, ['1847', '4161', '8911', 'Z', 'f', '3423', 'A', 'c', '2085', '5035', '9173', 'p', 'H', '251', 'H', '3881', 'y', 'T', 'R', '853', '1355', 'l', '2153', '709', '6857', 'B']