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.
9, ['9191', '591', '835', '3097', 'D', '7389', '8357', 'L', 'F', '2581', 'V', 'I', '9677', '7865', 'x', 'h', '9263', '8653', '503', '1177', '775', 'Z', '4363', 'G', 'H', 'H', '9947', 'u']