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.
5, ['c', 'e', 'g', '807', '3499', 'J', 'Z', 'f', '4663', 'm', 'j', 'T', 'f', '2187', '3129', '6633', '7691', '8939', 'z', '2013', '779', 'A', '4253', 'j', '1365', 'e', '7475', 'U']