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.
9, ['u', 'O', 'o', 'u', 'u', '7119', 'w', '6919', 'K', 'h', 'h', 'o', '9997', '9995', 'R', 's', 'V', 'P', 'h', 'c', 'C', 'F', 'f', 'J', '9169', '1411', 'i', '4033']