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, ['u', 'R', 'e', '5391', '2519', '7435', '1957', 'w', 'g', '3547', '7849', '3239', '2107', '9175', '9215', 'o', 'b', 'O', '4645', '5853', '7437', '1365', 'f', '1075', '1677', 'I', '9659', 'W']