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, ['4433', 't', '6193', '327', '2855', 'r', '4195', '4545', '51', '3347', 'j', '6867', 'k', 'A', 'i', 'k', 'F', '7589', '3079', 'y', '9519', 'G', '2735', 'Q']