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, ['7771', '2665', 'P', 'R', '7171', 't', '8123', '9417', '2055', '7111', 'D', '6563', 'N', 'W', 'a', 'U', 'k', 'N', 'D', '9715', 'S', '7449', 'O', '3367', '331', 'w', '7719']