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.
4, ['H', '5003', '963', 'O', 'W', 'T', 'K', '7935', '9563', '7551', 'Z', 'N', 'q', 'Q', 'T', '9873', 'n', 'F', '3467', 'Q', 'H', 'c', '5205', '3855', 'P', 't', 'K']