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.
3, ['7709', '1445', 's', 'n', 'j', '6817', 'i', '905', '2135', '1675', 'L', '8037', '9921', 'E', 'W', '2393', 'W', '5041', 'z', '9241', '1767', 'H', 'e', 'a', '6863', 'J', 'Q', 'i', '1033']