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.
7, ['6733', '9443', '101', 'c', 'r', '61', 'l', 'U', '1727', 'g', '503', 'z', 'g', 'Q', '7127', '3541', 'p']