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.
13, ['5951', '3565', 'c', 'c', '4115', '8709', '8529', '9303', 'J', '9285', 'e', '9019', 'i', '3891', 'X', '3173', '4549', 'S', '7057', '2123', '4785', 'd', '4537', '2055', '7305', '5903', 'A']