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, ['7461', 'n', 'u', 'F', '8105', '9345', '7453', 'i', 's', 'i', 'c', 'J', 'Y', '6837', 'P', 'Y', '2117', '2909', 'B', '691', 'I', 'P', 'j', '7693', 'j', 'w', 'a']