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.
4, ['5733', 'p', '1803', 'u', 'V', '699', '1419', '4533', 'c', 'y', 'E', '3515', 'h', '6155', '3667', '971', '4665', '1191', '8783', 'G', 'u', 'c', 'F', 'I', 'l', '3475', '2371', 'a']