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.
12, ['6551', 'c', '7317', '355', 'x', 'v', 'd', '8167', 'C', 'x', '9619', '8011', 'w', 'S', 'k', 'D', 's', '8061', '83', '4739', 'i', 'c', '4639', 'Q', '8529', '8505', '9391', 'W', '6575']