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.
2, ['1799', '2495', '863', '8119', '6935', '7387', '6203', 'a', '9915', 'm', '8067', '9373', 'F', 'k', '5255', 'O', '3749', '4983', '7869', '9703', '9331', 'k', '8649', '3403', '7927', '4395', '1365', '1201', '4705']