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, ['n', 'c', 'R', '3419', 'V', '8031', '327', '6465', 'I', '5683', '9955', 'I', 'Q', '1223', 'R', 'd', 'u', 'd', '5213', '8279', '6469', '6593', 'p', '7657', 'y', 'a', 'u', 'u']