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.
8, ['7553', '4531', '3835', 'A', '9405', 'b', '5769', '6813', 'I', 'V', 'v', 'm', '4115', '1817', '6181', '7541', 'm', 'l', '4159', '8233', 'i', 'm', '5653', 'p', '1011', '5453']