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.
1, ['3563', 'E', '3977', 'D', '8357', '7785', 'h', 'K', '8619', 'I', 'R', 't', '8901', 'd', '213', 'v', '5801', 'u', 'S', 'C', 'g', '3873', 'U', '6307', '957', 'c', '9355', '6775', '133', '6545']