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, ['l', '7419', 'c', 'p', 'R', '1227', '6399', 'I', 's', '8615', '2947', '3197', 'O', '3217', '7595', 'n', 'u', 'G', '4129', 'e', '3015', '1623', '6595', '6103', 'X', '2629', 'y', 'a', '8087']