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.
2, ['r', 'z', 'n', 'f', 'x', 'F', '633', '7207', 'q', 'P', '4445', 'r', 'c', 'F', '8821', '425', 'F', '9689', '9419', 'j', 'T', '3097', '3149', 'c', 'w', 'U', '1153', 'i', 'K']