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, ['9065', 'V', 'd', '4013', 'y', '3375', '5613', 'c', '9015', 'w', 'g', 'k', 'Q', '9647', '6193', 'P', '4417', '559', 'S', '861', '8001', 'F', 's', 'L', '7841', 'A', '9773', '689', '897', '7637']