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.
14, ['6551', '2565', '741', '3619', '8073', '3001', '1087', '5159', 'w', '6105', 'D', '9567', '7307', 's', '267', '7287', '7515', '9597', '53', 'P', '8793', '6115', 'h', '7825', '6569', 'C', 'a', '6073', 'a']